GitHub user jinxing64 opened a pull request:
https://github.com/apache/spark/pull/18866
[SPARK-21649][SQL] Support writing data into hive bucket table.
## What changes were proposed in this pull request?
Support writing hive bucket table. Spark internally uses Murmur3Hash for
partitioning. We can use hive hash for compatibility when write to bucket table.
## How was this patch tested?
Unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jinxing64/spark SPARK-21649
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18866.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18866
----
commit 51d2c110d01b8a4ef1d53d144c443e0e9b43817b
Author: jinxing <[email protected]>
Date: 2017-08-07T04:12:56Z
Support writing data into hive bucket table.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]