-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-15820][PySpark][SQL]Add Catalog.refreshTable into python API #13558
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-15820][PySpark][SQL]Add Catalog.refreshTable into python API #13558
Conversation
|
Test build #60159 has finished for PR 13558 at commit
|
|
Jenkins, test this please. |
|
Test build #60162 has finished for PR 13558 at commit
|
|
Jenkins, test this please. |
|
Test build #60169 has finished for PR 13558 at commit
|
|
Jenkins, test this please. |
|
Test build #60173 has finished for PR 13558 at commit
|
|
Jenkins, test this please. |
|
Test build #60179 has finished for PR 13558 at commit
|
|
Jenkins, test this please. |
|
Test build #60220 has finished for PR 13558 at commit
|
eedb961 to
8d87c0f
Compare
|
Test build #60226 has finished for PR 13558 at commit
|
|
Jenkins, test this please. |
|
Test build #60266 has finished for PR 13558 at commit
|
|
Jenkins, test this please. |
|
Test build #60378 has finished for PR 13558 at commit
|
|
Looks good. Jenks retest this please |
|
Test build #60446 has finished for PR 13558 at commit
|
|
@andrewor14 It looks strange, I test on my own machine and it is all OK. If it is the test server's problem? |
|
jenkins retest this please |
|
Test build #60701 has finished for PR 13558 at commit
|
python/pyspark/sql/catalog.py
Outdated
|
|
||
| @since(2.0) | ||
| def refreshTable(self, tableName): | ||
| """Invalidate and refresh all the cached the metadata of the given table.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an extra "the" in this comment, should be refresh all the cached metadata
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MLnick Done. I also correct the comment with extra "the" in the scala code. Thanks!
|
Test build #60705 has finished for PR 13558 at commit
|
|
@andrewor14 The PR is OK now. |
|
cc @liancheng Thanks! |
|
LGTM, merging to master and branch-2.0. |
## What changes were proposed in this pull request? Add Catalog.refreshTable API into python interface for Spark-SQL. ## How was this patch tested? Existing test. Author: WeichenXu <[email protected]> Closes #13558 from WeichenXu123/update_python_sql_interface_refreshTable. (cherry picked from commit 5344bad) Signed-off-by: Cheng Lian <[email protected]>
What changes were proposed in this pull request?
Add Catalog.refreshTable API into python interface for Spark-SQL.
How was this patch tested?
Existing test.