Skip to content

[SPARK-12889][SQL] Rename ParserDialect -> ParserInterface. #10817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

rxin
Copy link
Contributor

@rxin rxin commented Jan 18, 2016

Based on discussions in #10801, I'm submitting a pull request to rename ParserDialect to ParserInterface.

@rxin
Copy link
Contributor Author

rxin commented Jan 18, 2016

cc @hvanhovell

@@ -32,7 +32,7 @@ import org.apache.spark.sql.types._
/**
* A parser for foreign DDL commands.
*/
class DDLParser(fallback: => ParserDialect)
class DDLParser(fallback: => ParserInterface)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: it is somewhat strange that DDLParser has a "parse" method (not parsePlan). I'm leaving that unchanged because this class will likely just go away.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I missed that one. AbstractSparkSQLParser already implements this, it should have been overridden.

@SparkQA
Copy link

SparkQA commented Jan 19, 2016

Test build #2402 has finished for PR 10817 at commit 5d0e1c8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor Author

rxin commented Jan 19, 2016

Going to merge this.

@asfgit asfgit closed this in 39ac56f Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants