You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2022/08/10 03:24:00 UTC

[jira] [Created] (HUDI-4589) "show fsview all" hudi-cli fails for a hudi table written via flink

sivabalan narayanan created HUDI-4589:
-----------------------------------------

             Summary: "show fsview all" hudi-cli fails for a hudi table written via flink
                 Key: HUDI-4589
                 URL: https://issues.apache.org/jira/browse/HUDI-4589
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: sivabalan narayanan


The type of table t1 is COW and I am sure that the parquet file is actually generated inside data folder. Also, the parquet files are not damaged as the data could be retrieved correctly by reading as Hudi table or directly reading each parquet file(using Spark).

 

*To Reproduce*

Steps to reproduce the behavior:
 # Enter Flink SQL client.
 # Execute the SQL and check the data was written successfully.

CREATE TABLE t1( uuid VARCHAR(20), name VARCHAR(10), age INT, ts TIMESTAMP(3), `partition` VARCHAR(20) ) PARTITIONED BY (`partition`) WITH ( 'connector' = 'hudi', 'path' = 'hdfs:///path/to/table/', 'table.type' = 'COPY_ON_WRITE' ); -- insert data using values INSERT INTO t1 VALUES ('id1','Danny',23,TIMESTAMP '1970-01-01 00:00:01','par1'), ('id2','Stephen',33,TIMESTAMP '1970-01-01 00:00:02','par1'), ('id3','Julian',53,TIMESTAMP '1970-01-01 00:00:03','par2'), ('id4','Fabian',31,TIMESTAMP '1970-01-01 00:00:04','par2'), ('id5','Sophia',18,TIMESTAMP '1970-01-01 00:00:05','par3'), ('id6','Emma',20,TIMESTAMP '1970-01-01 00:00:06','par3'), ('id7','Bob',44,TIMESTAMP '1970-01-01 00:00:07','par4'), ('id8','Han',56,TIMESTAMP '1970-01-01 00:00:08','par4'); # Enter Hudi cli and execute {{show fsview all}}



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