Skip to content

Conversation

@krvikash
Copy link
Contributor

@krvikash krvikash commented May 9, 2023

No description provided.

@cla-bot cla-bot bot added the cla-signed label May 9, 2023
@github-actions github-actions bot added delta-lake Delta Lake connector iceberg Iceberg connector mongodb MongoDB connector labels May 9, 2023
@krvikash krvikash requested review from ebyhr, findinpath and pajaks May 9, 2023 19:03
@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label May 9, 2023
@ebyhr ebyhr force-pushed the add-testTruncateTable branch from 0100ada to 2d045ff Compare May 9, 2023 22:16
@ebyhr
Copy link
Member

ebyhr commented May 9, 2023

/test-with-secrets sha=2d045ffb397ee0bbb10de9fbafc36180e570e819

@krvikash krvikash force-pushed the add-testTruncateTable branch 2 times, most recently from 87ed2e0 to 6151d39 Compare May 10, 2023 05:21
Copy link
Member

Choose a reason for hiding this comment

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

do try (TestTable table once, before checking hasBehavior

Copy link
Contributor Author

Choose a reason for hiding this comment

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

try (TestTable table will fail when the connector doesn't support both TRUNCATE & CREATE TABLE AS SELECT statements. Changed it to.

if (!hasBehavior(SUPPORTS_TRUNCATE)) {
            assertQueryFails("TRUNCATE TABLE nation", "This connector does not support truncating tables");
}

#17409 (comment)

@github-actions
Copy link

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/4932226217

@github-actions github-actions bot added the bigquery BigQuery connector label May 10, 2023
@krvikash krvikash force-pushed the add-testTruncateTable branch from 6151d39 to c90bdde Compare May 10, 2023 19:22
@krvikash
Copy link
Contributor Author

resolved conflicts

@krvikash krvikash force-pushed the add-testTruncateTable branch from c90bdde to 84c3c3a Compare May 10, 2023 19:36
@ebyhr
Copy link
Member

ebyhr commented May 11, 2023

/test-with-secrets sha=84c3c3aa435283079a56cfb38e6c29412b2d6a05

@ebyhr
Copy link
Member

ebyhr commented May 11, 2023

I can't find the relevant CI job with secrets. Let me rerun.

@ebyhr
Copy link
Member

ebyhr commented May 11, 2023

/test-with-secrets sha=84c3c3aa435283079a56cfb38e6c29412b2d6a05

@ebyhr
Copy link
Member

ebyhr commented May 12, 2023

@ebyhr ebyhr merged commit 02ae441 into trinodb:master May 12, 2023
@github-actions github-actions bot added this to the 418 milestone May 12, 2023
@krvikash krvikash deleted the add-testTruncateTable branch May 12, 2023 19:45
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 iceberg Iceberg connector 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.

3 participants