You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/09 05:55:00 UTC

[jira] [Updated] (HUDI-5735) Fix: Flink-hudi write time format data UTC time zone problem

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

ASF GitHub Bot updated HUDI-5735:
---------------------------------
    Labels: pull-request-available  (was: )

> Fix: Flink-hudi write time format data UTC time zone problem
> ------------------------------------------------------------
>
>                 Key: HUDI-5735
>                 URL: https://issues.apache.org/jira/browse/HUDI-5735
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: luckily
>            Priority: Major
>              Labels: pull-request-available
>
> Flink-hudi write data type of timestamp  format UTC time zone problem.
> 1. The time zone written by flink is local, but the time zone read is not local 
> 2.flink writes timestamp data, but spark reads different timestamp 
> Repair: 
> 1. When the cow table and mor table of flink are written, timestamp data is written to the utc time zone by default, which is consistent with utc to rectify the spark reading problem 
> 2. In the cow table, timestamp data is read according to the configuration "read.utc-timezone" 
> 3. In the mor table, the default timestamp read time zone is local.



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