diff options
author | Jason White <jason.white@shopify.com> | 2017-03-07 13:14:37 -0800 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2017-03-07 13:14:37 -0800 |
commit | 6f4684622a951806bebe7652a14f7d1ce03e24c7 (patch) | |
tree | f96519c6144811ecf2279df9c82e244804d108fe /resource-managers | |
parent | 49570ed05d44f96549c49929f35c1c202556731a (diff) | |
download | spark-6f4684622a951806bebe7652a14f7d1ce03e24c7.tar.gz spark-6f4684622a951806bebe7652a14f7d1ce03e24c7.tar.bz2 spark-6f4684622a951806bebe7652a14f7d1ce03e24c7.zip |
[SPARK-19561] [PYTHON] cast TimestampType.toInternal output to long
## What changes were proposed in this pull request?
Cast the output of `TimestampType.toInternal` to long to allow for proper Timestamp creation in DataFrames near the epoch.
## How was this patch tested?
Added a new test that fails without the change.
dongjoon-hyun davies Mind taking a look?
The contribution is my original work and I license the work to the project under the project’s open source license.
Author: Jason White <jason.white@shopify.com>
Closes #16896 from JasonMWhite/SPARK-19561.
Diffstat (limited to 'resource-managers')
0 files changed, 0 insertions, 0 deletions