-
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
Add ability to have unique table location for each delta lake table #13020
Add ability to have unique table location for each delta lake table #13020
Conversation
48e56e9
to
49f0141
Compare
c993373
to
a5c9e0e
Compare
47fec5d
to
b4fa327
Compare
b4fa327
to
4f37402
Compare
is the ci failure related? |
no it is not |
@alexjo2144 @ebyhr ptal
if it's a flake, is there an issue already? |
I believe the test was already removed in 308e717. |
...delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeTableWithCustomLocation.java
Outdated
Show resolved
Hide resolved
...delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeTableWithCustomLocation.java
Outdated
Show resolved
Hide resolved
...delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeTableWithCustomLocation.java
Outdated
Show resolved
Hide resolved
...delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeTableWithCustomLocation.java
Outdated
Show resolved
Hide resolved
...t/java/io/trino/plugin/deltalake/TestDeltaLakeTableWithCustomLocationUsingGlueMetastore.java
Outdated
Show resolved
Hide resolved
4f37402
to
796b8b1
Compare
@ebyhr comments applied |
...delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeTableWithCustomLocation.java
Outdated
Show resolved
Hide resolved
796b8b1
to
9bc82f9
Compare
9bc82f9
to
cfb6ba2
Compare
Rebased on upstream to resolved conflicts. |
9bc82f9
to
2ba95c4
Compare
@ebyhr can we merge this ? |
@homar
|
2ba95c4
to
476d685
Compare
@ebyhr I pushed a fix for ADSL, could you please run ADSL tests again ? |
Sure, updated #13310 |
@ebyhr I think now we are good to merge, if my last change to fix that adsl test is fine for you |
Merged, thanks! |
boolean requiresOptIn = transactionLogWriterFactory.newWriter(session, tableHandle.getLocation()).isUnsafe(); | ||
String tableLocation = metastore.getTableLocation(tableHandle.getSchemaTableName(), session); | ||
Path tableMetadataDirectory = new Path(new Path(tableLocation).getParent().toString(), tableHandle.getTableName()); | ||
boolean requiresOptIn = transactionLogWriterFactory.newWriter(session, tableMetadataDirectory.toString()).isUnsafe(); |
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.
Why was this change needed?
Description
improvement
a connector
each table will have different location random location, unique suffix will be added to the table name
Related issues, pull requests, and links
#12980
Documentation
( ) No documentation is needed.
(x) 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.
(x) Release notes entries required with the following suggested text: