-
- Downloads
[SPARK-17150][SQL] Support SQL generation for inline tables
## What changes were proposed in this pull request? This patch adds support for SQL generation for inline tables. With this, it would be possible to create a view that depends on inline tables. ## How was this patch tested? Added a test case in LogicalPlanToSQLSuite. Author: petermaxlee <petermaxlee@gmail.com> Closes #14709 from petermaxlee/SPARK-17150.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LocalRelation.scala 15 additions, 2 deletions...ache/spark/sql/catalyst/plans/logical/LocalRelation.scala
- sql/core/src/main/scala/org/apache/spark/sql/catalyst/SQLBuilder.scala 3 additions, 0 deletions...main/scala/org/apache/spark/sql/catalyst/SQLBuilder.scala
- sql/hive/src/test/resources/sqlgen/inline_tables.sql 4 additions, 0 deletionssql/hive/src/test/resources/sqlgen/inline_tables.sql
- sql/hive/src/test/scala/org/apache/spark/sql/catalyst/LogicalPlanToSQLSuite.scala 8 additions, 0 deletions...org/apache/spark/sql/catalyst/LogicalPlanToSQLSuite.scala
Please register or sign in to comment