Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HUDI-8869] Refresh file index and reload timeline in HoodieBaseRelation #12642

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yuzhaojing
Copy link
Contributor

Change Logs

Add reload timeline and refresh file index in HoodieBaseRelation,Because the Spark engine will reuse Relations when executing multiple statements.

Impact

Describe any public API or user-facing feature change or any performance impact.

Risk level (write none, low medium or high below)

low

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
    ticket number here and follow the instruction to make
    changes to the website.

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@yuzhaojing yuzhaojing requested a review from yihua January 15, 2025 06:10
@github-actions github-actions bot added the size:XS PR with lines of changes in <= 10 label Jan 15, 2025
@danny0405
Copy link
Contributor

@yuzhaojing Does this fix the file not found exception of Spark queries.

@yuzhaojing
Copy link
Contributor Author

yuzhaojing commented Jan 15, 2025

@yuzhaojing Does this fix the file not found exception of Spark queries.

If the cached file in the same Spark query is deleted, then this PR can fix it.

@yihua yihua self-assigned this Jan 15, 2025
@yuzhaojing yuzhaojing force-pushed the refresh_file_index_and_timeline branch from d65dfa0 to fafd325 Compare January 16, 2025 03:29
@yuzhaojing yuzhaojing changed the title [MINOR] Refresh file index and reload timeline in HoodieBaseRelation [HUDI-8869] Refresh file index and reload timeline in HoodieBaseRelation Jan 16, 2025
@hudi-bot
Copy link

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS PR with lines of changes in <= 10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants