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

Geser Dugarov updated HUDI-8785:
--------------------------------
    Description: 
SQL queries:
{code:java}
CREATE TABLE hudi_debug (
    id INT,
    part INT,
    desc STRING,
    PRIMARY KEY (id) NOT ENFORCED
) 
WITH (
    'connector' = 'hudi',
    'path' = '...',
    'table.type' = 'MERGE_ON_READ',
    'write.operation' = 'upsert',
    'hoodie.populate.meta.fields' = 'false'
); {code}
{code:java}
INSERT INTO hudi_debug VALUES 
    (1,100,'aaa'),
    (2,200,'bbb'); {code}
 

Check that there is no exceptions during:
{code:java}
SELECT * FROM hudi_debug; {code}
and corresponding log files in HDFS don't not contain columns with metadata.

> MOR table after upsert with disabled hoodie.populate.meta.fields couldn't be 
> read by Flink
> ------------------------------------------------------------------------------------------
>
>                 Key: HUDI-8785
>                 URL: https://issues.apache.org/jira/browse/HUDI-8785
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Geser Dugarov
>            Assignee: Geser Dugarov
>            Priority: Major
>
> SQL queries:
> {code:java}
> CREATE TABLE hudi_debug (
>     id INT,
>     part INT,
>     desc STRING,
>     PRIMARY KEY (id) NOT ENFORCED
> ) 
> WITH (
>     'connector' = 'hudi',
>     'path' = '...',
>     'table.type' = 'MERGE_ON_READ',
>     'write.operation' = 'upsert',
>     'hoodie.populate.meta.fields' = 'false'
> ); {code}
> {code:java}
> INSERT INTO hudi_debug VALUES 
>     (1,100,'aaa'),
>     (2,200,'bbb'); {code}
>  
> Check that there is no exceptions during:
> {code:java}
> SELECT * FROM hudi_debug; {code}
> and corresponding log files in HDFS don't not contain columns with metadata.



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

Reply via email to