Skip to content

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

Merged
merged 6 commits into from
May 25, 2023

Conversation

findepi
Copy link
Member

@findepi findepi commented May 24, 2023

No description provided.

@cla-bot cla-bot bot added the cla-signed label May 24, 2023
@findepi findepi added test no-release-notes This pull request does not require release notes entry labels May 24, 2023
@findepi findepi changed the title Randomize bucket name in Delta tests Delta lake tests improvements May 24, 2023
@findepi findepi force-pushed the findepi/randomize-bucket-name-in-delta-tests-a443de branch 2 times, most recently from f7a2850 to 73db6a7 Compare May 24, 2023 14:26
@github-actions github-actions bot added delta-lake Delta Lake connector hive Hive connector tests:hive labels May 24, 2023
@findepi findepi force-pushed the findepi/randomize-bucket-name-in-delta-tests-a443de branch from 73db6a7 to bb0ac7b Compare May 24, 2023 15:17
@@ -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.*");
Copy link
Member Author

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.

@findepi findepi force-pushed the findepi/randomize-bucket-name-in-delta-tests-a443de branch from bb0ac7b to fb1cfcb Compare May 24, 2023 18:58
@findepi findepi force-pushed the findepi/randomize-bucket-name-in-delta-tests-a443de branch from fb1cfcb to 232b6ff Compare May 25, 2023 08:03
@github-actions github-actions bot added the iceberg Iceberg connector label May 25, 2023
@findepi findepi force-pushed the findepi/randomize-bucket-name-in-delta-tests-a443de branch from 232b6ff to 3f9199b Compare May 25, 2023 08:21
@findepi
Copy link
Member Author

findepi commented May 25, 2023

(rebased to resolve conflicts)

@findepi findepi merged commit 40c3d83 into master May 25, 2023
@findepi findepi deleted the findepi/randomize-bucket-name-in-delta-tests-a443de branch May 25, 2023 12:29
@github-actions github-actions bot added this to the 419 milestone May 25, 2023
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 hive Hive connector iceberg Iceberg connector no-release-notes This pull request does not require release notes entry test
Development

Successfully merging this pull request may close these issues.

4 participants