Skip to content
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

[SPARK-7163] [SQL] minor refactory for HiveQl #5715

Closed
wants to merge 8 commits into from

Conversation

scwf
Copy link
Contributor

@scwf scwf commented Apr 27, 2015

1/5 update:

A work to refactory hiveql to make it more clean and readable

1 move ASTNode related util method to a new object named HiveASTNodeUtil
2 delete no use method in HiveQl
3 override sqlParser in HiveQLDialec.
4 rename HiveQl to HiveQlConverter

The code change seems very big, but actually it's the renaming of HiveQl and extracting some method to HiveASTNodeUtil cause that.

/cc @rxin

new this.QueryExecution(plan)
/* A catalyst metadata catalog that points to the Hive Metastore. */
@transient
override protected[sql] lazy val catalog = new HiveMetastoreCatalog(this) with OverrideCatalog
Copy link
Contributor Author

Choose a reason for hiding this comment

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

reorder to make catalog, functionRegistry, analyzer, sqlParser togethor

@SparkQA
Copy link

SparkQA commented Apr 27, 2015

Test build #30962 has finished for PR 5715 at commit f76a7b1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.
  • This patch does not change any dependencies.

@SparkQA
Copy link

SparkQA commented Apr 30, 2015

Test build #31353 has finished for PR 5715 at commit 6081494.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.
  • This patch does not change any dependencies.

@SparkQA
Copy link

SparkQA commented May 1, 2015

Test build #31503 has finished for PR 5715 at commit 0a2d6ae.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.
  • This patch does not change any dependencies.

@marmbrus
Copy link
Contributor

marmbrus commented May 2, 2015

We can consider breaking this up, but lets do it after the 1.4 release. Otherwise you are going to cause tons of conflicts with inflight PRs.

@scwf
Copy link
Contributor Author

scwf commented May 3, 2015

yes, after related PR in such as windowfunction we can breaking this up

@marmbrus
Copy link
Contributor

marmbrus commented Sep 3, 2015

Can we close this issue until you have time to bring it up to date?

@asfgit asfgit closed this in 804a012 Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants