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

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

> failed to snapshot query in hive when query a empty partition 
> --------------------------------------------------------------
>
>                 Key: HUDI-5220
>                 URL: https://issues.apache.org/jira/browse/HUDI-5220
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: hive
>            Reporter: yuehanwang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.12.2
>
>
> When query a empty partition hive will return a empty file in split path. 
> This path will be added as a NonHoodieInputPaths. In this case 
> HoodieParquetRealtimeInputFormat read a file split rather than a 
> RealtimeSplit. Throw a exception:
> HoodieRealtimeRecordReader can only work on RealtimeSplit and not with 
> hdfs://test-cluster/tmp/hive/20220520/hive/4273589d-49be-4a60-9890-a29660d81927/hive_2022-11-14_11-32-41_221_5694963332005566615-17/-mr-10004/74adf5bb-b07e-4eac-a90b-1b5a7fc3d5c4/emptyFile:0+466



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to