Skip to content

Fail iceberg optimize for tables with version > 1#11966

Merged
findepi merged 1 commit intotrinodb:masterfrom
homar:homar/prevent_iceberg_optimize_from_running_on_v2_tables
Apr 20, 2022
Merged

Fail iceberg optimize for tables with version > 1#11966
findepi merged 1 commit intotrinodb:masterfrom
homar:homar/prevent_iceberg_optimize_from_running_on_v2_tables

Conversation

@homar
Copy link
Member

@homar homar commented Apr 14, 2022

Description

Optimize will fail anyway for tables that contains delete files.
It is better to fail fast and in a straighforward manner.

Related issues, pull requests, and links

Documentation

( ) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

( ) No release notes entries required.
( ) Release notes entries required with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@homar homar force-pushed the homar/prevent_iceberg_optimize_from_running_on_v2_tables branch 2 times, most recently from 8a5f31b to 342fc2e Compare April 15, 2022 08:30
Comment on lines 782 to 783
Copy link
Member

Choose a reason for hiding this comment

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

nit: fmt: each arg on own line (so a line break after format()

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Currently Optimize fails when position deletes files are present in iceberg table
// Currently, Optimize would fail when position deletes files are present in Iceberg table

@homar homar force-pushed the homar/prevent_iceberg_optimize_from_running_on_v2_tables branch from 342fc2e to 06da7c1 Compare April 20, 2022 10:09
@findepi findepi merged commit aae73d3 into trinodb:master Apr 20, 2022
@findepi findepi added the no-release-notes This pull request does not require release notes entry label Apr 20, 2022
@github-actions github-actions bot added this to the 378 milestone Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

3 participants