lrz created HUDI-5805:
-------------------------
Summary: hive query on mor get empty result before compaction
Key: HUDI-5805
URL: https://issues.apache.org/jira/browse/HUDI-5805
Project: Apache Hudi
Issue Type: Bug
Reporter: lrz
Attachments: image-2023-02-15-20-48-08-819.png,
image-2023-02-15-20-48-21-988.png
when a mor table write data with flink cdc only, then before compaction the
partition will only have log file, and no base file. then befor compaction,
hive query result will always be empty.
it's because when hive getSplit on a native table, hive will ignore a partition
which only has files start with '.', and because hudi has not set storageHandle
when sync hive meta, then hive treat it as native table
!image-2023-02-15-20-48-08-819.png!
!image-2023-02-15-20-48-21-988.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)