Skip to content

Commit

Permalink
More advanced type checking and documentation (NVIDIA#1323)
Browse files Browse the repository at this point in the history
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
  • Loading branch information
revans2 authored Dec 15, 2020
1 parent 2e91713 commit 7a06c6e
Show file tree
Hide file tree
Showing 40 changed files with 3,201 additions and 881 deletions.
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

0 comments on commit 7a06c6e

Please sign in to comment.