Uh oh!
There was an error while loading. Please reload this page.
[SPARK-3654][SQL] Unifies SQL and HiveQL parsers - #2698
Conversation
SparkQA
commented
Oct 7, 2014
QA tests have started for PR 2698 at commit
|
SparkQA
commented
Oct 7, 2014
QA tests have finished for PR 2698 at commit
|
AmplabJenkins
commented
Oct 7, 2014
Test FAILed. |
There was a problem hiding this comment.
Although looks trickier, Option[(String, Option[String])] captures the syntax and semantics of SET command better, and simplifies parsing logic.
liancheng
commented
Oct 7, 2014
Scala style checking doesn't like the |
SparkQA
commented
Oct 7, 2014
QA tests have started for PR 2698 at commit
|
There was a problem hiding this comment.
Debugging code, forgot to remove this...
SparkQA
commented
Oct 7, 2014
QA tests have finished for PR 2698 at commit
|
AmplabJenkins
commented
Oct 7, 2014
Test FAILed. |
SparkQA
commented
Oct 7, 2014
QA tests have started for PR 2698 at commit
|
SparkQA
commented
Oct 8, 2014
QA tests have finished for PR 2698 at commit
|
AmplabJenkins
commented
Oct 8, 2014
Test FAILed. |
SparkQA
commented
Oct 8, 2014
QA tests have started for PR 2698 at commit
|
SparkQA
commented
Oct 8, 2014
QA tests have finished for PR 2698 at commit
|
AmplabJenkins
commented
Oct 8, 2014
Test PASSed. |
liancheng
commented
Oct 9, 2014
@marmbrus Please help review. |
SparkQA
commented
Oct 9, 2014
QA tests have started for PR 2698 at commit
|
liancheng
commented
Oct 9, 2014
This PR conflicts with #2678. It would be good to merge that one first, and then I'll rebase. |
SparkQA
commented
Oct 9, 2014
QA tests have finished for PR 2698 at commit
|
AmplabJenkins
commented
Oct 9, 2014
Test FAILed. |
AmplabJenkins
commented
Oct 9, 2014
Can one of the admins verify this patch? |
ba2c121 to
ceada76CompareSparkQA
commented
Oct 10, 2014
QA tests have started for PR 2698 at commit
|
SparkQA
commented
Oct 10, 2014
QA tests have finished for PR 2698 at commit
|
AmplabJenkins
commented
Oct 10, 2014
Test PASSed. |
This PR is a follow up of #2590, and tries to introduce a top level SQL parser entry point for all SQL dialects supported by Spark SQL.
A top level parser
SparkSQLParseris introduced to handle the syntaxes that all SQL dialects should recognize (e.g.CACHE TABLE,UNCACHE TABLEandSET, etc.). For all the syntaxes this parser doesn't recognize directly, it fallbacks to a specified function that tries to parse arbitrary input to aLogicalPlan. This function is typically another parser combinator likeSqlParser. DDL syntaxes introduced in #2475 can be moved to here.The
ExtendedHiveQlParsernow only handle Hive specific extensions.Also took the chance to refactor/reformat
SqlParserfor better readability.