GitHub user morenn520 opened a pull request:
https://github.com/apache/spark/pull/19999
JDBC support date/timestamp type as partitionColumn
Jira: https://issues.apache.org/jira/browse/SPARK-22814
PartitionColumn must be a numeric column from the table.
However, there are lots of table, which has no primary key, and has some
date/timestamp indexes.
This patch solve this problem.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/morenn520/spark SPARK-22814
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19999.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 #19999
----
commit d1d310c6df782830378083d4bd80762591ba867e
Author: Chen Yuechen <[email protected]>
Date: 2017-12-16T06:26:57Z
JDBC support date/timestamp type as partitionColumn
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]