You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2025/11/15 03:18:00 UTC

[jira] [Updated] (SPARK-53368) Consider supporting Parquet TIME data with isAdjustedToUTC=true

     [ https://issues.apache.org/jira/browse/SPARK-53368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-53368:
----------------------------------
    Parent Issue: SPARK-54137  (was: SPARK-51162)

> Consider supporting Parquet TIME data with isAdjustedToUTC=true
> ---------------------------------------------------------------
>
>                 Key: SPARK-53368
>                 URL: https://issues.apache.org/jira/browse/SPARK-53368
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Sarah Gilmore
>            Priority: Minor
>
> It would be nice if the Parquet datasource supported reading Parquet {{TIME}} types with {{isAdjustedToUTC=true.}} Currently, the Spark Parquet reader errors if the {{isAdjustedToUTC}} parameter is not {{false.}}
> Some Parquet writers, such as Arrow's Parquet writer, write {{TIME}} data with {{isAdjustedToUTC=true}} by default because of the [Parquet compatibility guidelines|https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#deprecated-time-convertedtype] regarding the deprecation of the {{ConvertedType}} {{{}TIME_MICROS{}}}. For example, Arrow's Parquet writer currently writes TIME data with {{isAdjustedToUTC=true}} by default even though Arrow {{TIME}} types are timezone-agnostic.
> NOTE: There is [movement|https://github.com/apache/arrow/pull/47316] in the Arrow community to change the {{isAdjustedToUTC}} to {{false}} by default. However, there are still many pre-existing Parquet files that were generated by Arrow that contain {{TIME}} data that cannot be imported by the Spark Parquet reader.
> See [this dev@apache.spark.org email thread|https://lists.apache.org/thread/cxy9obkf74177w4tsxwq6oqjx6t95ksk] for more details.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org