Skip to content

Fix Iceberg ignoring filter on $path#12790

Merged
findepi merged 3 commits intotrinodb:masterfrom
findepi:findepi/fix-iceberg-ignoring-filter-on-902029
Jun 13, 2022
Merged

Fix Iceberg ignoring filter on $path#12790
findepi merged 3 commits intotrinodb:masterfrom
findepi:findepi/fix-iceberg-ignoring-filter-on-902029

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Jun 10, 2022

Fixes #12789

@findepi findepi requested review from alexjo2144 and losipiuk June 10, 2022 10:24
@cla-bot cla-bot bot added the cla-signed label Jun 10, 2022
@findepi findepi changed the title Fix Iceberg ignoring filter on Fix Iceberg ignoring filter on $path Jun 10, 2022
@findepi findepi force-pushed the findepi/fix-iceberg-ignoring-filter-on-902029 branch from df322f4 to b769e8a Compare June 10, 2022 10:48
@findepi findepi force-pushed the findepi/fix-iceberg-ignoring-filter-on-902029 branch from b769e8a to b195eb9 Compare June 10, 2022 14:30
@findepi findepi requested a review from hashhar June 10, 2022 14:30
assertThat(query("SELECT userid FROM " + tableName + " WHERE \"$path\" = '" + somePath + "'"))
.matches("VALUES 2, 5");
assertThat(query("SELECT userid FROM " + tableName + " WHERE \"$path\" = '" + somePath + "' AND userid > 0"))
.matches("VALUES 2, 5");
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The first one was passing, but this one was failing.

@alexjo2144
Copy link
Copy Markdown
Member

CI button looks green but jobs didn't actually run

Copy link
Copy Markdown
Member

@phd3 phd3 left a comment

Choose a reason for hiding this comment

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

how about an commit message like

Fix filtering on $path column for iceberg queries

@findepi
Copy link
Copy Markdown
Member Author

findepi commented Jun 10, 2022

Fix filtering on $path column for iceberg queries

This could be understood as if now filtering happens within the connector.
it does not (#12785).

@findepi findepi merged commit f247b89 into trinodb:master Jun 13, 2022
@findepi findepi deleted the findepi/fix-iceberg-ignoring-filter-on-902029 branch June 13, 2022 08:04
@findepi findepi mentioned this pull request Jun 13, 2022
@github-actions github-actions bot added this to the 386 milestone Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Incorrect query results when filtering Iceberg table using $path column and there is additional filter

5 participants