pengzhiwei created HUDI-2114:
--------------------------------
Summary: Spark Query MOR Table Written By Flink Return Incorrect
Timestamp Value
Key: HUDI-2114
URL: https://issues.apache.org/jira/browse/HUDI-2114
Project: Apache Hudi
Issue Type: Bug
Components: Spark Integration
Reporter: pengzhiwei
Assignee: pengzhiwei
Fix For: 0.9.0, 0.10.0
Write a MOR table by flink like this:
{code:java}
create table h0 (
uuid varchar(20),
name varchar(10),
ts timestamp(3)
) with (
'connector' = 'hudi',
'path' = '/xx/xx/',
'table.type' = 'MERGE_ON_READ'
);
insert into h0 values('id1', 'jim', TIMESTAMP '2021-01-01 00:00:01'){code}
Query the table by spark will return a incorrect *ts* value:
{code:java}
'id', 'jim', 1970-01-20 03:22:34.849144{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)