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

[Bug]: Iceberg temporary snapshot tables should be excluded from data cleanups #2488

Closed
2 tasks done
link3280 opened this issue Dec 29, 2023 · 1 comment · Fixed by #2491
Closed
2 tasks done

[Bug]: Iceberg temporary snapshot tables should be excluded from data cleanups #2488

link3280 opened this issue Dec 29, 2023 · 1 comment · Fixed by #2491
Labels
type:bug Something isn't working

Comments

@link3280
Copy link
Contributor

What happened?

Iceberg supports creating temporary snapshot tables that refer to hive data files. Amoro should avoid optimize such tables to avoid unexpected modifying hive data files.

Affects Versions

0.5.1

What engines are you seeing the problem on?

AMS

How to reproduce

  1. create a hive parquet table and insert some records
  2. use spark snapshot procedures to create an iceberg table from the hive table
  3. insert some records into the new iceberg table
  4. wait for AMS to merge the original hive data files and iceberg data files into a new file

Relevant log output

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@link3280 link3280 added the type:bug Something isn't working label Dec 29, 2023
@link3280 link3280 changed the title [Bug]: Iceberg temporary snapshot tables should be exclude from optimizing [Bug]: Iceberg temporary snapshot tables should be excluded from optimizing Dec 29, 2023
@link3280
Copy link
Contributor Author

link3280 commented Dec 29, 2023

@link3280 link3280 changed the title [Bug]: Iceberg temporary snapshot tables should be excluded from optimizing [Bug]: Iceberg temporary snapshot tables should be excluded from data cleanups Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant