-
- Downloads
[SPARK-17149][SQL] array.sql for testing array related functions
## What changes were proposed in this pull request? This patch creates array.sql in SQLQueryTestSuite for testing array related functions, including: - indexing - array creation - size - array_contains - sort_array ## How was this patch tested? The patch itself is about adding tests. Author: petermaxlee <petermaxlee@gmail.com> Closes #14708 from petermaxlee/SPARK-17149.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala 6 additions, 6 deletions...apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
- sql/core/src/test/resources/sql-tests/inputs/array.sql 86 additions, 0 deletionssql/core/src/test/resources/sql-tests/inputs/array.sql
- sql/core/src/test/resources/sql-tests/results/array.sql.out 144 additions, 0 deletionssql/core/src/test/resources/sql-tests/results/array.sql.out
- sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala 0 additions, 16 deletions...e/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
- sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala 10 additions, 0 deletions...c/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala
- sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala 2 additions, 2 deletions...che/spark/sql/hive/execution/HiveCompatibilitySuite.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala 0 additions, 9 deletions.../org/apache/spark/sql/hive/execution/HiveQuerySuite.scala
Loading
Please register or sign in to comment