Skip to content

Conversation

@findinpath
Copy link
Contributor

Description

The previous logic was depending on the ordering of the columns in the schema of the table and not on the ordering of the partition keys which could have produced inconsistent partition values for tables with composed partition keys.

Relates to finding https://github.com/trinodb/trino/pull/20993/files#r1536703816

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

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

@cla-bot cla-bot bot added the cla-signed label Mar 25, 2024
@findinpath findinpath self-assigned this Mar 25, 2024
@findinpath findinpath added the delta-lake Delta Lake connector label Mar 25, 2024
@findinpath findinpath force-pushed the findinpath/delta-keep-partition-values-ordering branch 2 times, most recently from 179e9d8 to 290e303 Compare March 27, 2024 22:06
@findinpath findinpath requested review from ebyhr and jayzzh March 27, 2024 22:07
Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

Looks good except for a remaining comment by @jayzzh.

@findinpath findinpath force-pushed the findinpath/delta-keep-partition-values-ordering branch from 290e303 to 58aea0f Compare March 28, 2024 07:13
@findinpath findinpath requested review from ebyhr and jayzzh March 28, 2024 07:13
The previous logic was depending on the ordering of the columns
in the schema of the table and not on the ordering of the partition
keys which could have produced inconsistent partition values
for tables with composed partition keys.
@ebyhr ebyhr force-pushed the findinpath/delta-keep-partition-values-ordering branch from 58aea0f to 4ae73be Compare March 28, 2024 07:29
@ebyhr ebyhr merged commit 736ecbf into trinodb:master Mar 28, 2024
@github-actions github-actions bot added this to the 444 milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed delta-lake Delta Lake connector

Development

Successfully merging this pull request may close these issues.

3 participants