[ 
https://issues.apache.org/jira/browse/HUDI-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HUDI-5805:
---------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>         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)

Reply via email to