-
- Downloads
[SPARK-13689][SQL] Move helper things in CatalystQl to new utils object
## What changes were proposed in this pull request? When we add more DDL parsing logic in the future, SparkQl will become very big. To keep it smaller, we'll introduce helper "parser objects", e.g. one to parse alter table commands. However, these parser objects will need to access some helper methods that exist in CatalystQl. The proposal is to move those methods to an isolated ParserUtils object. This is based on viirya's changes in #11048. It prefaces the bigger fix for SPARK-13139 to make the diff of that patch smaller. ## How was this patch tested? No change in functionality, so just Jenkins. Author: Andrew Or <andrew@databricks.com> Closes #11529 from andrewor14/parser-utils.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/CatalystQl.scala 1 addition, 141 deletions...ala/org/apache/spark/sql/catalyst/parser/CatalystQl.scala
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/ParserUtils.scala 170 additions, 0 deletions...la/org/apache/spark/sql/catalyst/parser/ParserUtils.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/SparkQl.scala 3 additions, 1 deletion...c/main/scala/org/apache/spark/sql/execution/SparkQl.scala
- sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala 3 additions, 1 deletion...ive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala
Loading
Please register or sign in to comment