Skip to content

[SPARK-4943][SPARK-5251][SQL] Allow table name having dot for db/catalog#4062

Closed
scwf wants to merge 13 commits into
apache:masterfrom
scwf:createtable
Closed

[SPARK-4943][SPARK-5251][SQL] Allow table name having dot for db/catalog#4062
scwf wants to merge 13 commits into
apache:masterfrom
scwf:createtable

Conversation

@scwf

@scwf scwf commented Jan 15, 2015

Copy link
Copy Markdown
Contributor

Follow up for #3941 and #3960, in this PR
1 enable ddl table name having dot
2 enable hivecontext related api support dot table name with tableIdentifier
3 remove QualifiedTableName which do not match the other API, using tableIdentifier instead.

@SparkQA

SparkQA commented Jan 15, 2015

Copy link
Copy Markdown

Test build #25602 has started for PR 4062 at commit e0d1960.

  • This patch merges cleanly.

@SparkQA

SparkQA commented Jan 15, 2015

Copy link
Copy Markdown

Test build #25602 has finished for PR 4062 at commit e0d1960.

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

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25602/
Test PASSed.

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.

Why hardcode default here? When a database isn't specified its up to the catalog to use the current one, where as this will ignore any USE statements that have been run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@marmbrus yes, this just inherited from the old version. Now invalidateTable do not support database as you suggest, so here is a todo in line 102, how about make another PR to fix this? or do it in this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@marmbrus I will make a new PR to fix the database issue after this in.

@scwf scwf changed the title [SPARK-4943][SQL] Allow table name having dot for db/catalog [SPARK-4943][SPARK-5251][SQL] Allow table name having dot for db/catalog Jan 17, 2015
@scwf

scwf commented Jan 20, 2015

Copy link
Copy Markdown
Contributor Author

@marmbrus, any other comments here?

@scwf

scwf commented Jan 22, 2015

Copy link
Copy Markdown
Contributor Author

ping @marmbrus

@SparkQA

SparkQA commented Jan 30, 2015

Copy link
Copy Markdown

Test build #26359 has started for PR 4062 at commit 8857756.

  • This patch merges cleanly.

@SparkQA

SparkQA commented Jan 30, 2015

Copy link
Copy Markdown

Test build #26359 has finished for PR 4062 at commit 8857756.

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

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26359/
Test PASSed.

@scwf

scwf commented Jan 30, 2015

Copy link
Copy Markdown
Contributor Author

ping @marmbrus, is this ok to go?

@scwf

scwf commented Feb 2, 2015

Copy link
Copy Markdown
Contributor Author

ping

@SparkQA

SparkQA commented Feb 4, 2015

Copy link
Copy Markdown

Test build #26708 has started for PR 4062 at commit fcfa126.

  • This patch merges cleanly.

@SparkQA

SparkQA commented Feb 4, 2015

Copy link
Copy Markdown

Test build #26708 has finished for PR 4062 at commit fcfa126.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins

Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26708/
Test FAILed.

@SparkQA

SparkQA commented Feb 4, 2015

Copy link
Copy Markdown

Test build #26715 has started for PR 4062 at commit 057d23e.

  • This patch merges cleanly.

@SparkQA

SparkQA commented Feb 4, 2015

Copy link
Copy Markdown

Test build #26715 has finished for PR 4062 at commit 057d23e.

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

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26715/
Test PASSed.

@marmbrus

Copy link
Copy Markdown
Contributor

Okay, sorry this didn't make it into 1.3. Mind bringing it up to date?

@scwf

scwf commented Mar 19, 2015

Copy link
Copy Markdown
Contributor Author

yeah later back to update this

@liancheng

Copy link
Copy Markdown
Contributor

Sorry... Would you mind to rebase this again? Thanks!

@SparkQA

SparkQA commented Apr 22, 2015

Copy link
Copy Markdown

Test build #30753 has started for PR 4062 at commit e63c4ed.

@SparkQA

SparkQA commented Apr 22, 2015

Copy link
Copy Markdown

Test build #30753 has finished for PR 4062 at commit e63c4ed.

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

@AmplabJenkins

Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30753/
Test FAILed.

@SparkQA

SparkQA commented Apr 22, 2015

Copy link
Copy Markdown

Test build #30755 has started for PR 4062 at commit 4a318f3.

@SparkQA

SparkQA commented Apr 22, 2015

Copy link
Copy Markdown

Test build #30755 has finished for PR 4062 at commit 4a318f3.

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

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30755/
Test PASSed.

@SparkQA

SparkQA commented Apr 22, 2015

Copy link
Copy Markdown

Test build #30766 has started for PR 4062 at commit e437e89.

@scwf

scwf commented Apr 22, 2015

Copy link
Copy Markdown
Contributor Author

Updated and added test cases.

@SparkQA

SparkQA commented Apr 22, 2015

Copy link
Copy Markdown

Test build #30766 has finished for PR 4062 at commit e437e89.

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

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30766/
Test PASSed.

@scwf

scwf commented Apr 22, 2015

Copy link
Copy Markdown
Contributor Author

To summarize this:
1 enable ddl table name having dot
2 enable HiveContext/DataFrame/SQLContext related api support dot table name with tableIdentifier
3 remove QualifiedTableName which do not match the other API from HiveMetastoreCatalog, using tableIdentifier instead.
4 tablename x.y.z.....m.n indicate that m is the db name and n is the table name

@scwf

scwf commented Apr 22, 2015

Copy link
Copy Markdown
Contributor Author

/cc @marmbrus @liancheng

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

should not rename this method

@scwf

scwf commented Apr 25, 2015

Copy link
Copy Markdown
Contributor Author

Jenkins, retest this please

@scwf

scwf commented Apr 27, 2015

Copy link
Copy Markdown
Contributor Author

@liancheng , rebased and updated, any comments here?

@scwf

scwf commented May 3, 2015

Copy link
Copy Markdown
Contributor Author

Jenkins, retest this please

@AmplabJenkins

Copy link
Copy Markdown

Merged build triggered.

@AmplabJenkins

Copy link
Copy Markdown

Merged build started.

@SparkQA

SparkQA commented May 3, 2015

Copy link
Copy Markdown

Test build #31680 has started for PR 4062 at commit 7c65386.

@SparkQA

SparkQA commented May 3, 2015

Copy link
Copy Markdown

Test build #31680 has finished for PR 4062 at commit 7c65386.

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

@AmplabJenkins

Copy link
Copy Markdown

Merged build finished. Test PASSed.

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31680/
Test PASSed.

@scwf

scwf commented May 6, 2015

Copy link
Copy Markdown
Contributor Author

ping

@scwf scwf closed this Jul 1, 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

Development

Successfully merging this pull request may close these issues.

5 participants