-
- Downloads
[SPARK-15232][SQL] Add subquery SQL building tests to LogicalPlanToSQLSuite
## What changes were proposed in this pull request? We currently test subquery SQL building using the `HiveCompatibilitySuite`. The is not desired since SQL building is actually a part of `sql/core` and because we are slowly reducing our dependency on Hive. This PR adds the same tests from the whitelist of `HiveCompatibilitySuite` into `LogicalPlanToSQLSuite`. ## How was this patch tested? This adds more testcases. Pass the Jenkins tests. Author: Dongjoon Hyun <dongjoon@apache.org> Closes #14383 from dongjoon-hyun/SPARK-15232.
Showing
- sql/hive/src/test/resources/sqlgen/broadcast_join_subquery.sql 8 additions, 0 deletions...ive/src/test/resources/sqlgen/broadcast_join_subquery.sql
- sql/hive/src/test/resources/sqlgen/subq2.sql 8 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subq2.sql
- sql/hive/src/test/resources/sqlgen/subquery_exists_1.sql 8 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subquery_exists_1.sql
- sql/hive/src/test/resources/sqlgen/subquery_exists_2.sql 9 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subquery_exists_2.sql
- sql/hive/src/test/resources/sqlgen/subquery_exists_having_1.sql 9 additions, 0 deletions...ve/src/test/resources/sqlgen/subquery_exists_having_1.sql
- sql/hive/src/test/resources/sqlgen/subquery_exists_having_2.sql 10 additions, 0 deletions...ve/src/test/resources/sqlgen/subquery_exists_having_2.sql
- sql/hive/src/test/resources/sqlgen/subquery_exists_having_3.sql 9 additions, 0 deletions...ve/src/test/resources/sqlgen/subquery_exists_having_3.sql
- sql/hive/src/test/resources/sqlgen/subquery_in.sql 6 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subquery_in.sql
- sql/hive/src/test/resources/sqlgen/subquery_in_having_1.sql 8 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subquery_in_having_1.sql
- sql/hive/src/test/resources/sqlgen/subquery_in_having_2.sql 10 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subquery_in_having_2.sql
- sql/hive/src/test/resources/sqlgen/subquery_not_exists_1.sql 8 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subquery_not_exists_1.sql
- sql/hive/src/test/resources/sqlgen/subquery_not_exists_2.sql 8 additions, 0 deletionssql/hive/src/test/resources/sqlgen/subquery_not_exists_2.sql
- sql/hive/src/test/resources/sqlgen/subquery_not_exists_having_1.sql 9 additions, 0 deletions...rc/test/resources/sqlgen/subquery_not_exists_having_1.sql
- sql/hive/src/test/resources/sqlgen/subquery_not_exists_having_2.sql 9 additions, 0 deletions...rc/test/resources/sqlgen/subquery_not_exists_having_2.sql
- sql/hive/src/test/scala/org/apache/spark/sql/catalyst/LogicalPlanToSQLSuite.scala 163 additions, 0 deletions...org/apache/spark/sql/catalyst/LogicalPlanToSQLSuite.scala
sql/hive/src/test/resources/sqlgen/subq2.sql
0 → 100644
Please register or sign in to comment