You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "yuehanwang (Jira)" <ji...@apache.org> on 2022/11/15 06:45:00 UTC
[jira] [Resolved] (HUDI-5220) failed to snapshot query in hive when query a empty partition
[ https://issues.apache.org/jira/browse/HUDI-5220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
yuehanwang resolved HUDI-5220.
------------------------------
> 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
> 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)