Skip to content

[SPARK-15820][PySpark][SQL]Add Catalog.refreshTable into python API - #13558

Closed
WeichenXu123 wants to merge 2 commits into
apache:masterfrom
WeichenXu123:update_python_sql_interface_refreshTable
Closed

[SPARK-15820][PySpark][SQL]Add Catalog.refreshTable into python API#13558
WeichenXu123 wants to merge 2 commits into
apache:masterfrom
WeichenXu123:update_python_sql_interface_refreshTable

Conversation

@WeichenXu123

Copy link
Copy Markdown
Contributor

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.

@WeichenXu123WeichenXu123 changed the title [SPARK-15820][pyspark][SQL] update python sql interface refreshTable[SPARK-15820][PySpark][SQL]Add Catalog.refreshTable into python APIJun 8, 2016
@SparkQA

Copy link
Copy Markdown

Test build #60159 has finished for PR 13558 at commit eedb961.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

Jenkins, test this please.

@SparkQA

Copy link
Copy Markdown

Test build #60162 has finished for PR 13558 at commit eedb961.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

Jenkins, test this please.

@SparkQA

Copy link
Copy Markdown

Test build #60169 has finished for PR 13558 at commit eedb961.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

Jenkins, test this please.

@SparkQA

Copy link
Copy Markdown

Test build #60173 has finished for PR 13558 at commit eedb961.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

Jenkins, test this please.

@SparkQA

Copy link
Copy Markdown

Test build #60179 has finished for PR 13558 at commit eedb961.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

Jenkins, test this please.

@SparkQA

Copy link
Copy Markdown

Test build #60220 has finished for PR 13558 at commit eedb961.

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

@WeichenXu123
WeichenXu123force-pushed the update_python_sql_interface_refreshTable branch from eedb961 to 8d87c0fCompareJune 9, 2016 07:16
@SparkQA

Copy link
Copy Markdown

Test build #60226 has finished for PR 13558 at commit 8d87c0f.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

Jenkins, test this please.

@SparkQA

Copy link
Copy Markdown

Test build #60266 has finished for PR 13558 at commit 8d87c0f.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

Jenkins, test this please.

@SparkQA

Copy link
Copy Markdown

Test build #60378 has finished for PR 13558 at commit 8d87c0f.

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

@andrewor14

Copy link
Copy Markdown
Contributor

Looks good. Jenks retest this please

@SparkQA

Copy link
Copy Markdown

Test build #60446 has finished for PR 13558 at commit 8d87c0f.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

@andrewor14 It looks strange, I test on my own machine and it is all OK. If it is the test server's problem?

@MLnick

Copy link
Copy Markdown
Contributor

jenkins retest this please

@SparkQA

Copy link
Copy Markdown

Test build #60701 has finished for PR 13558 at commit 8d87c0f.

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

Comment threadpython/pyspark/sql/catalog.py Outdated

@since(2.0)
def refreshTable(self, tableName):
"""Invalidate and refresh all the cached the metadata of the given table."""

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
ContributorAuthor

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!

@SparkQA

Copy link
Copy Markdown

Test build #60705 has finished for PR 13558 at commit 87fcb7c.

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

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

@andrewor14 The PR is OK now.

@WeichenXu123

Copy link
Copy Markdown
ContributorAuthor

cc @liancheng Thanks!

@liancheng

Copy link
Copy Markdown
Contributor

LGTM, merging to master and branch-2.0.

asfgit pushed a commit that referenced this pull request Jul 1, 2016
## 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 <WeichenXu123@outlook.com>
Closes#13558 from WeichenXu123/update_python_sql_interface_refreshTable.
(cherry picked from commit 5344bad)
Signed-off-by: Cheng Lian <lian@databricks.com>
@WeichenXu123
WeichenXu123 deleted the update_python_sql_interface_refreshTable branch July 31, 2016 09:46
Sign up for freeto 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.

5 participants

@WeichenXu123@SparkQA@andrewor14@MLnick@liancheng