-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Simplify DeltaLakeMetadata with new model class #18133
Conversation
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
7e3adb9
to
51f9dd2
Compare
3a6ada1
to
93a6dc5
Compare
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
93a6dc5
to
6f492d4
Compare
Just rebased on master without changes. |
6f492d4
to
2c79f4c
Compare
2c79f4c
to
cfcf446
Compare
I will rebase after #18423 |
cfcf446
to
0871e5b
Compare
0871e5b
to
50e2dbd
Compare
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaTable.java
Outdated
Show resolved
Hide resolved
50e2dbd
to
8513d22
Compare
8513d22
to
2c9f7e0
Compare
daec8b2
to
f25818e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DeltaTable
/ DeltaLakeTable
otherwise said an object representation of the JSON content from DeltaLakeSchemaSupport
seems pretty appealing.
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaTable.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
a53ec16
to
17088c3
Compare
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Show resolved
Hide resolved
ecfab27
to
ae0d7cf
Compare
@findepi Could you please review this PR when you have time? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skimmed. @alexjo2144 you may want to review this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, this is way better 👍
One small comment
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
ae0d7cf
to
f5ce751
Compare
Description
The motivation comes from #18013. Currently, DeltaLakeMetadata class calls some
getColumn*(MetadataEntry)
methods from several places. It's a little hard to use those methods correctly.It would be better to manage those information in a single place.