zuoyebushiwo commented on issue #2377:
URL: https://github.com/apache/hudi/issues/2377#issuecomment-752343811


   > > @zuoyebushiwo hive could, but you need to tell hive this is a hudi 
table. Please check the hive-sync module to learn more about how hudi works 
with hive.
   > 
   > think you so very much. i will learn this chapter.
   
   CREATE EXTERNAL TABLE hudi_on_flink_local_9(
   _hoodie_commit_time string,
   _hoodie_commit_seqno string,
   _hoodie_record_key string,
   _hoodie_partition_path string,
   _hoodie_file_name string,
   uuid string,
   ts bigint,
   symbol string,
   year int,
   month int,
   high double,
   low double,
   key string,
   close double,
   open double,
   day string)
   ROW FORMAT SERDE
   'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
   STORED AS INPUTFORMAT
   'org.apache.hudi.hadoop.HoodieParquetInputFormat'
   OUTPUTFORMAT
   'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
   LOCATION
   'hdfs://HDFSCluster/hudi/test/data/hudi_on_flink_local_9';
   
   **i have set STORED AS INPUTFORMAT
   'org.apache.hudi.hadoop.HoodieParquetInputFormat'**
   
   By the way
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to