Mark Bukhner created HUDI-7647:
----------------------------------

             Summary: READ_UTC_TIMEZONE doesn't affect MOR table
                 Key: HUDI-7647
                 URL: https://issues.apache.org/jira/browse/HUDI-7647
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: Mark Bukhner


Write COPY_ON_WRITE table:
{code:java}
tableEnv.executeSql("CREATE TABLE test_2(\n"
    + "  uuid VARCHAR(40),\n"
    + "  name VARCHAR(10),\n"
    + "  age INT,\n"
    + "  ts TIMESTAMP(3),\n"
    + "  `partition` VARCHAR(20)\n"
    + ")\n"
    + "PARTITIONED BY (`partition`)\n"
    + "WITH (\n"
    + "  'connector' = 'hudi',\n"
    + "  'path' = '...',\n"
    + "  'table.type' = 'COPY_ON_WRITE',\n"
    + "  'write.utc-timezone' = 'true',\n"
    + "  'index.type' = 'INMEMORY'\n"
    + ");").await(); 

tableEnv.executeSql("insert into test_2 \n" + "values ('ab', 'cccx', 12, 
TIMESTAMP '1972-01-01 00:00:01', 'xx'),\n" + " ('ab', 'cccx', 12, TIMESTAMP 
'1970-01-01 00:00:01', 'xx');").await();{code}
ThenĀ 



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

Reply via email to