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

Geser Dugarov updated HUDI-8631:
--------------------------------
    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' = 'COPY_ON_WRITE',
    'write.operation' = 'insert',
    '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 parquet files in HDFS don't not contain columns with metadata.

  was:
SQL queries:
CREATE TABLE hudi_debug (
    id INT,
    part INT,    desc STRING,    PRIMARY KEY (id) NOT ENFORCED
) 
WITH (    'connector' = 'hudi',    'path' = '...',    'table.type' = 
'COPY_ON_WRITE',    'write.operation' = 'insert',    
'hoodie.populate.meta.fields' = 'false');
 
INSERT INTO hudi_debug VALUES     (1,100,'aaa'),
    (2,200,'bbb');
 

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


> hoodie.populate.meta.fields is not supported in append mode for Flink
> ---------------------------------------------------------------------
>
>                 Key: HUDI-8631
>                 URL: https://issues.apache.org/jira/browse/HUDI-8631
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: bradley
>            Assignee: Danny Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.1
>
>
> 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' = 'COPY_ON_WRITE',
>     'write.operation' = 'insert',
>     '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 parquet 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