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

[AMORO-1898] fix Mixed Hive Table's self-optimizing moving files to the stale hive table/partition location #1911

Merged
merged 7 commits into from
Sep 13, 2023

Conversation

wangtaohz
Copy link
Contributor

Why are the changes needed?

Close #1898.

Brief change log

  • move files to the location stored in iceberg properties instead of to the hive location
  • support check and fix hive location before committing

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

2.move files to the location stored in iceberg properties instead of to the hive location
@github-actions github-actions bot added module:mixed-hive Hive moduel for Mixed Format module:ams-dashboard Ams dashboard module labels Sep 4, 2023
@codecov
Copy link

codecov bot commented Sep 4, 2023

wangtaohz and others added 2 commits September 6, 2023 15:53
Copy link
Contributor

@baiyangtx baiyangtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks a lot for your contribution.

@zhoujinsong zhoujinsong merged commit b6019cf into apache:master Sep 13, 2023
6 checks passed
ShawHee pushed a commit to ShawHee/arctic that referenced this pull request Dec 29, 2023
…he stale hive table/partition location (apache#1911)

* move syncArcticDataToHive to HiveMetaSynchronizer

* 1.before commit to hive table, sync arctic data to hive
2.move files to the location stored in iceberg properties instead of to the hive location

* modify code

* Update docs of HiveMetaSynchronizer.java

Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>

* move TestHiveCommitSync to hive module as TestHiveMetaSynchronizer

---------

Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ams-dashboard Ams dashboard module module:mixed-hive Hive moduel for Mixed Format
Projects
None yet
3 participants