-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Delta lake tests improvements #17622
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
Delta lake tests improvements #17622
Conversation
f7a2850
to
73db6a7
Compare
73db6a7
to
bb0ac7b
Compare
@@ -1759,7 +1760,7 @@ protected OptionalInt maxTableNameLength() | |||
@Override | |||
protected void verifyTableNameLengthFailurePermissible(Throwable e) | |||
{ | |||
assertThat(e).hasMessageMatching("(?s)(.*Read timed out)|(.*\"`TBL_NAME`\" that has maximum length of 128.*)"); | |||
assertThat(e).hasMessageMatching("Table name must be shorter than or equal to '128' characters but got.*"); |
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.
it looks like we're losing test coverage for proper handling of too long names, but in fact we didn't have it before, as "read timed out" was an allowed outcome. thus it's not a big loss.
we should, however, test name limits on the smoke test, since that's what is run against different metastores/catalogs in delta & iceberg.
.../trino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeDynamicFiltering.java
Outdated
Show resolved
Hide resolved
bb0ac7b
to
fb1cfcb
Compare
fb1cfcb
to
232b6ff
Compare
The test did not use HDFS anyway, only HMS, but metastore is irrelevant for this test.
The test did not use HDFS anyway, only HMS. HMS test coverage is provided by a smoke test. This makes this test easier to run on Apple M1.
232b6ff
to
3f9199b
Compare
(rebased to resolve conflicts) |
No description provided.