-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Decode paths as URIs in delta-lake connector #15201
Conversation
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
1 similar comment
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
public void testPathUriDecoding() | ||
{ | ||
String tableName = "test_uri_table_" + randomNameSuffix(); | ||
registerTableFromResources(tableName, "databricks/uri", getQueryRunner()); |
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.
The test doesn't prove the Delta change is correct impl of Delta spec, since it can be both our writer and our reader are wrong.
@ebyhr do you know which test class would be the best for this type of a test?
we have a few TestDeltaLakeDatabricks*Compatibility
, but none seem applicable to me
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.
I can't find a good existing class either. Adding a new product test class looks good to me.
@jkylling Can you try adding a product test? Let us know if you need help.
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.
Rebased on upstream since |
/test-with-secrets sha=df6138fba5b3544dbeb092752c05c6cde457798f |
...c/main/java/io/trino/tests/product/deltalake/TestDeltaLakeDatabricksInsertCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java
Show resolved
Hide resolved
...rino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
...c/main/java/io/trino/tests/product/deltalake/TestDeltaLakeDatabricksInsertCompatibility.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeSplitManager.java
Outdated
Show resolved
Hide resolved
...c/main/java/io/trino/tests/product/deltalake/TestDeltaLakeDatabricksInsertCompatibility.java
Outdated
Show resolved
Hide resolved
...c/main/java/io/trino/tests/product/deltalake/TestDeltaLakeDatabricksInsertCompatibility.java
Outdated
Show resolved
Hide resolved
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/3653870944 |
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.
Looks good except for comments. Please squash commits into one.
...rino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java
Show resolved
Hide resolved
...c/main/java/io/trino/tests/product/deltalake/TestDeltaLakeDatabricksSelectCompatibility.java
Outdated
Show resolved
Hide resolved
...c/main/java/io/trino/tests/product/deltalake/TestDeltaLakeDatabricksSelectCompatibility.java
Outdated
Show resolved
Hide resolved
The new test is failing on OSS Delta Lake.
|
The |
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.
Please remove .crc
files.
...t-tests/src/main/java/io/trino/tests/product/deltalake/TestDeltaLakeSelectCompatibility.java
Show resolved
Hide resolved
...t-tests/src/main/java/io/trino/tests/product/deltalake/TestDeltaLakeSelectCompatibility.java
Outdated
Show resolved
Hide resolved
/test-with-secrets sha=b63a9780e3174e4de3a96bdd1f5b48c76d4acc19 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/3671461022 |
I will investigate |
/test-with-secrets sha=edb11bea6c15a548e80a85dd5dedb4c176e80067 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/3681717402 |
Description
Fixes #15183
The sample
uri
delta table was obtained by copyingdatabricks/bar
and changing the name of the parquet files and modifying the log entries.Additional context and related issues
Fixes #15183
Release notes
(x) Release notes are required, with the following suggested text: