-
Notifications
You must be signed in to change notification settings - Fork 28k
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-16691][SQL] move BucketSpec to catalyst module and use it in CatalogTable #14331
Conversation
cc @yhuai @liancheng |
@@ -764,10 +761,7 @@ private[hive] class HiveClientImpl( | |||
hiveTable.setFields(schema.asJava) | |||
} | |||
hiveTable.setPartCols(partCols.asJava) | |||
// TODO: set sort columns here too | |||
hiveTable.setBucketCols(table.bucketColumnNames.asJava) |
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.
we don't support bucketed hive table now, and I think we never will, because we have different hash implementation.
Test build #62763 has finished for PR 14331 at commit
|
LGTM |
Test build #62776 has finished for PR 14331 at commit
|
Test build #62777 has finished for PR 14331 at commit
|
} | ||
} | ||
|
||
|
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.
Nit: Remove extra newline.
Overall LGTM, a few minor comments. |
Test build #62798 has finished for PR 14331 at commit
|
Test build #62821 has finished for PR 14331 at commit
|
Merging to master, thanks! |
What changes were proposed in this pull request?
It's weird that we have
BucketSpec
to abstract bucket info, but don't use it inCatalogTable
. This PR movesBucketSpec
into catalyst module.How was this patch tested?
existing tests.