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-23259][SQL] Clean up legacy code around hive external catalog and HiveClientImpl #21780

Closed
wants to merge 1 commit into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

Three legacy statements are removed by this patch:

  • in HiveExternalCatalog: The withClient wrapper is not necessary for the private method getRawTable.

  • in HiveClientImpl: There are some redundant code in both the tableExists and getTableOption method.

This PR takes over #20425

How was this patch tested?

Existing tests

Closes #20425

@HyukjinKwon
Copy link
Member Author

cc @gatorsmile, mind taking a look please?

Copy link
Member

@gatorsmile gatorsmile left a comment

Choose a reason for hiding this comment

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

LGTM

When we merge this code, we need to give the credit to the original PR owner.

@HyukjinKwon
Copy link
Member Author

Yup, please do.

@SparkQA
Copy link

SparkQA commented Jul 16, 2018

Test build #93075 has finished for PR 21780 at commit 7688790.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jul 16, 2018

Test build #93084 has finished for PR 21780 at commit 7688790.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jul 16, 2018

Test build #93095 has finished for PR 21780 at commit 7688790.

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

@HyukjinKwon
Copy link
Member Author

Merged to master

@asfgit asfgit closed this in d57a267 Jul 17, 2018
@HyukjinKwon HyukjinKwon deleted the SPARK-23259 branch October 16, 2018 12:46
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