-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SQL] Implement Describe Table for SQLContext #4207
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
Conversation
|
Test build #26095 has started for PR 4207 at commit
|
|
Test build #26095 has finished for PR 4207 at commit
|
|
Test FAILed. |
7fb2e81 to
90a14a7
Compare
|
Test build #26096 has started for PR 4207 at commit
|
|
Test build #26096 has finished for PR 4207 at commit
|
|
Test FAILed. |
|
Test build #26158 has started for PR 4207 at commit
|
|
Test build #26158 has finished for PR 4207 at commit
|
|
Test PASSed. |
|
Move Describe command parser to DDLParser which can implement do not throw error when parse exception. So that some HiveContext particular describe command can be parse by fallback Hive parser and run by Hive native command. |
|
firstly,we need to rename title of PR to [SPARK-5324][SQL] Implement Describe Table for SQLContext. i find that code of this PR is not the latest code. i donot agree that move DescribeCommand to a class of SparkPlan. it keep to be a class of LogicalPlan. |
|
Thanks for submitting the pull request. Are these two PRs working on the same thing? #4227 Would be great if you two can chime in on each other's PR. |
|
hi, @yanbohappy, I've already worked in this. |
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.
IntegerType and StringType ? should be int, string
|
hi, @yanbohappy Thanks for working on this. But by the way, this JIRA(SPARK-5324) |
|
@lianhuiwang In this PR #3948, CommandStrategy had been removed and command had been refactor. |
|
@OopsOutOfMemory Since you have go deep into this issue and I agree your PR is more mature. So close this one. |
|
@yanbohappy thanks for the discussion. |
|
@yanbohappy thanks for the discussion and the work efforts : ) |
Initial code snippet for Describe Table command
(note: HiveContext also support "DESCRIBE [FORMATTED] [db_name.]table_name PARTITION partition_column_name" and "DESCRIBE [FORMATTED] [db_name.]table_name column_name" is implement by Hive native command)