Skip to content
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

Refactor testRenameTableToLongTableName to remove Iceberg override #16707

Conversation

findepi
Copy link
Member

@findepi findepi commented Mar 24, 2023

Refactor testRenameTableToLongTableName test so that Iceberg tests do not have to override the test method.

Also fixes #7535 per #7535 (comment)

@findepi findepi added test no-release-notes This pull request does not require release notes entry labels Mar 24, 2023
@findepi findepi requested a review from ebyhr March 24, 2023 08:46
@cla-bot cla-bot bot added the cla-signed label Mar 24, 2023
@github-actions github-actions bot added the iceberg Iceberg connector label Mar 24, 2023
@findepi findepi requested a review from kokosing March 24, 2023 09:07
@@ -1634,24 +1634,48 @@ private void testCreateTableLikeForFormat(IcebergFileFormat otherFormat)
// For this reason the source and the copied table will share the same directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in cmt msg

format_version = 2,
location = '%s',
partitioning = ARRAY['adate']
)""",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.formatted?

findepi added 3 commits March 24, 2023 13:33
Refactor `testRenameTableToLongTableName` test so that Iceberg tests do
not have to override the test method.
Previously we were retrying on "Execution Error, return code 2 from
org.apache.hadoop.hive.ql.exec.mr.MapRedTask". As CI shown, the return
code may vary, sometimes it is e.g. 1.

In the meantime we introduced broader retry patterns for Hive query
failures, so let's use these.
@findepi
Copy link
Member Author

findepi commented Mar 24, 2023

CI #16277

@findepi findepi force-pushed the findepi/refactor-testrenametabletolongtablename-to-remove-iceberg-override-750064 branch from 27875a1 to a4ee59f Compare March 24, 2023 12:35
@findepi findepi merged commit 0f180a9 into trinodb:master Mar 24, 2023
@findepi findepi deleted the findepi/refactor-testrenametabletolongtablename-to-remove-iceberg-override-750064 branch March 24, 2023 12:35
@github-actions github-actions bot added this to the 411 milestone Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed 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.

TestHiveViews.testRichSqlSyntax is flaky when executing control query on Hive
2 participants