ChangbingChen commented on issue #4618:
URL: https://github.com/apache/hudi/issues/4618#issuecomment-1015144555


   
   
   
   
   Sorry, it doesn't work either.  i query the xxx_ro table,  the inputformat 
should be org.apache.hudi.hadoop.HoodieParquetInputFormat?
   
   By the way, there are four or five parquet files, and for each compaction 
opertation, a new parquet file wile be generated and the oldest parquet file 
will be deleted.
   So in hive query, it wile scan those all parquet files? perhaps the newest 
one contains all records?
   
   ```
   [[email protected] ~]$ hadoop fs -ls /hudi/mysql_table_sink_new/20220118
   Found 9 items
   -rw-r--r--   3 yarn supergroup   22309728 2022-01-18 15:22 
/hudi/mysql_table_sink_new/20220118/.77dc5111-0ed0-400c-9df3-84b254650ab5_20220118152035.log.1_0-1-0
   -rw-r--r--   3 yarn supergroup   26237250 2022-01-18 15:24 
/hudi/mysql_table_sink_new/20220118/.77dc5111-0ed0-400c-9df3-84b254650ab5_20220118152235.log.1_0-1-0
   -rw-r--r--   3 yarn supergroup   25088875 2022-01-18 15:26 
/hudi/mysql_table_sink_new/20220118/.77dc5111-0ed0-400c-9df3-84b254650ab5_20220118152436.log.1_0-1-0
   -rw-r--r--   3 yarn supergroup   22962237 2022-01-18 15:28 
/hudi/mysql_table_sink_new/20220118/.77dc5111-0ed0-400c-9df3-84b254650ab5_20220118152636.log.1_0-1-0
   -rw-r--r--   3 yarn supergroup         93 2022-01-18 15:15 
/hudi/mysql_table_sink_new/20220118/.hoodie_partition_metadata
   -rw-r--r--   3 yarn supergroup    8456473 2022-01-18 15:21 
/hudi/mysql_table_sink_new/20220118/77dc5111-0ed0-400c-9df3-84b254650ab5_0-1-0_20220118152035.parquet
   -rw-r--r--   3 yarn supergroup   10952244 2022-01-18 15:23 
/hudi/mysql_table_sink_new/20220118/77dc5111-0ed0-400c-9df3-84b254650ab5_0-1-0_20220118152235.parquet
   -rw-r--r--   3 yarn supergroup   13875797 2022-01-18 15:25 
/hudi/mysql_table_sink_new/20220118/77dc5111-0ed0-400c-9df3-84b254650ab5_0-1-0_20220118152436.parquet
   -rw-r--r--   3 yarn supergroup   16555809 2022-01-18 15:27 
/hudi/mysql_table_sink_new/20220118/77dc5111-0ed0-400c-9df3-84b254650ab5_0-1-0_20220118152636.parquet
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to