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

Add newTrinoTable method to AbstractTestQueryFramework #24337

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented Dec 2, 2024

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Dec 2, 2024
@github-actions github-actions bot added iceberg Iceberg connector delta-lake Delta Lake connector hive Hive connector bigquery BigQuery connector mongodb MongoDB connector labels Dec 2, 2024
@ebyhr ebyhr added maintenance Project maintenance task no-release-notes This pull request does not require release notes entry labels Dec 2, 2024
Comment on lines 672 to 680
protected TestTable createTable(String namePrefix, @Language("SQL") String tableDefinition)
{
return createTable(namePrefix, tableDefinition, ImmutableList.of());
}

protected TestTable createTable(String namePrefix, @Language("SQL") String tableDefinition, List<String> rowsToInsert)
{
return new TestTable(getQueryRunner()::execute, namePrefix, tableDefinition, rowsToInsert);
}
Copy link
Member

Choose a reason for hiding this comment

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

nit: one thing I liked about the old was it made clear which executor is used to create table - maybe the method name should be createTableUsingTrino or something to clarify this?

This is a not a big deal so feel free to ignore.

Copy link
Member Author

@ebyhr ebyhr Dec 16, 2024

Choose a reason for hiding this comment

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

I want to use shorter name here. How about newTrinoTable?

@ebyhr ebyhr changed the title Add createTable method to AbstractTestQueryFramework Add newTrinoTable method to AbstractTestQueryFramework Dec 23, 2024
@ebyhr ebyhr merged commit 4d76f58 into trinodb:master Dec 28, 2024
91 of 92 checks passed
@ebyhr ebyhr deleted the ebi/test branch December 28, 2024 13:31
@github-actions github-actions bot added this to the 469 milestone Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bigquery BigQuery connector cla-signed delta-lake Delta Lake connector hive Hive connector iceberg Iceberg connector maintenance Project maintenance task mongodb MongoDB connector no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

2 participants