[
https://issues.apache.org/jira/browse/HUDI-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hui An updated HUDI-5008:
-------------------------
Description:
If users create an incrementalRelation while join another existing hive hudi
table, as pathFilter is unset inside incrementalRelation, all files under hive
hudi table will be selected.
Now HoodieROTablePathFilter can accept {{as.of.instant}} to do the time travel,
so instead we pass as.of.instant to the dataframe(not change spark hadoop conf
globally) to avoid this issue.
was:If users create an incrementalRelation while join another existing hive
hudi table, as pathFilter is unset inside incrementalRelation, all files under
hive hudi table will be selected
> Avoid unset HoodieROTablePathFilter in IncrementalRelation
> ----------------------------------------------------------
>
> Key: HUDI-5008
> URL: https://issues.apache.org/jira/browse/HUDI-5008
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Hui An
> Priority: Major
>
> If users create an incrementalRelation while join another existing hive hudi
> table, as pathFilter is unset inside incrementalRelation, all files under
> hive hudi table will be selected.
> Now HoodieROTablePathFilter can accept {{as.of.instant}} to do the time
> travel, so instead we pass as.of.instant to the dataframe(not change spark
> hadoop conf globally) to avoid this issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)