Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More advanced type checking and documentation #1323

Merged
merged 10 commits into from
Dec 15, 2020
40 changes: 29 additions & 11 deletions dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,19 +136,37 @@
<goals>
<goal>run</goal>
</goals>
<configuration>
<launchers>
<launcher>
<id>update_rapids_config</id>
<mainClass>com.nvidia.spark.rapids.RapidsConf</mainClass>
<args>
<arg>${project.basedir}/../docs/configs.md</arg>
</args>
</launcher>
</launchers>
</configuration>
</execution>
<execution>
<id>update_supported</id>
<phase>verify</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<launchers>
<launcher>
<id>update_rapids_support</id>
<mainClass>com.nvidia.spark.rapids.SupportedOpsDocs</mainClass>
<args>
<arg>${project.basedir}/../docs/supported_ops.md</arg>
</args>
</launcher>
</launchers>
</configuration>
</execution>
</executions>
<configuration>
<launchers>
<launcher>
<id>update_rapids_config</id>
<mainClass>com.nvidia.spark.rapids.RapidsConf</mainClass>
<args>
<arg>${project.basedir}/../docs/configs.md</arg>
</args>
</launcher>
</launchers>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
Expand Down
2 changes: 1 addition & 1 deletion docs/configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Name | SQL Function(s) | Description | Default Value | Notes
<a name="sql.expression.LastDay"></a>spark.rapids.sql.expression.LastDay|`last_day`|Returns the last day of the month which the date belongs to|true|None|
<a name="sql.expression.Lead"></a>spark.rapids.sql.expression.Lead|`lead`|Window function that returns N entries ahead of this one|true|None|
<a name="sql.expression.Least"></a>spark.rapids.sql.expression.Least|`least`|Returns the least value of all parameters, skipping null values|true|None|
<a name="sql.expression.Length"></a>spark.rapids.sql.expression.Length|`length`, `character_length`, `char_length`|String character length|true|None|
<a name="sql.expression.Length"></a>spark.rapids.sql.expression.Length|`length`, `character_length`, `char_length`|String character length or binary byte length|true|None|
<a name="sql.expression.LessThan"></a>spark.rapids.sql.expression.LessThan|`<`|< operator|true|None|
<a name="sql.expression.LessThanOrEqual"></a>spark.rapids.sql.expression.LessThanOrEqual|`<=`|<= operator|true|None|
<a name="sql.expression.Like"></a>spark.rapids.sql.expression.Like|`like`|Like|true|None|
Expand Down
Loading