You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "lrz (Jira)" <ji...@apache.org> on 2023/02/15 12:49:00 UTC
[jira] [Created] (HUDI-5805) hive query on mor get empty result before compaction
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)