-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-19390][SQL] Replace the unnecessary usages of hiveQlTable #16726
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 #72102 has started for PR 16726 at commit |
|
retest this please |
|
Test build #72108 has finished for PR 16726 at commit
|
|
+1 for reducing the dependency! |
|
cc @cloud-fan |
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.
can we remove hiveQlTable now?
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.
The whole test case for #14515 is not needed after the recent code refactoring.
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.
Let me remove it.
e9e7486 to
75d8017
Compare
| case InsertIntoTable(r: MetastoreRelation, partition, query, overwrite, ifNotExists) | ||
| // Inserting into partitioned table is not supported in Parquet data source (yet). | ||
| if query.resolved && !r.hiveQlTable.isPartitioned && shouldConvertMetastoreParquet(r) => | ||
| if query.resolved && !r.catalogTable.isPartitioned && shouldConvertToParquet(r) => |
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.
Exceed 101 characters. Thus,,, rename it.
|
Test build #73153 has started for PR 16726 at commit |
|
retest this please |
|
Test build #73179 has finished for PR 16726 at commit
|
|
can you hold it for a while? I'm removing the |
|
Great! |
What changes were proposed in this pull request?
catalogTableis the native table metadata structure for Spark SQL. Thus, we should avoid using Hive's table metadata structureTablein our code base. This PR is to replace it.How was this patch tested?
The existing test cases.