[
https://issues.apache.org/jira/browse/SPARK-10364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Li reassigned SPARK-10364:
-------------------------------
Assignee: Dilip Biswal
> Support Parquet logical type TIMESTAMP_MILLIS
> ---------------------------------------------
>
> Key: SPARK-10364
> URL: https://issues.apache.org/jira/browse/SPARK-10364
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 1.5.0
> Reporter: Cheng Lian
> Assignee: Dilip Biswal
> Fix For: 2.2.0
>
>
> The {{TimestampType}} in Spark SQL is of microsecond precision. Ideally, we
> should convert Spark SQL timestamp values into Parquet {{TIMESTAMP_MICROS}}.
> But unfortunately parquet-mr hasn't supported it yet.
> For the read path, we should be able to read {{TIMESTAMP_MILLIS}} Parquet
> values and pad a 0 microsecond part to read values.
> For the write path, currently we are writing timestamps as {{INT96}}, similar
> to Impala and Hive. One alternative is that, we can have a separate SQL
> option to let users be able to write Spark SQL timestamp values as
> {{TIMESTAMP_MILLIS}}. Of course, in this way the microsecond part will be
> truncated.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]