Skip to content

Drop keyspaces in Cassandra tests in try-finally#25072

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
anusudarsan:anu/cassandra-test-cleanup
Feb 18, 2025
Merged

Drop keyspaces in Cassandra tests in try-finally#25072
ebyhr merged 1 commit intotrinodb:masterfrom
anusudarsan:anu/cassandra-test-cleanup

Conversation

@anusudarsan
Copy link
Copy Markdown
Member

@anusudarsan anusudarsan commented Feb 18, 2025

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 Feb 18, 2025
@anusudarsan anusudarsan requested a review from ebyhr February 18, 2025 18:37
@github-actions github-actions bot added the cassandra Cassandra connector label Feb 18, 2025
session.execute("CREATE TABLE " + keyspaceName + ".table_set (column_5 bigint PRIMARY KEY, nested_collection frozen<set<set<bigint>>>)");
session.execute("CREATE TABLE " + keyspaceName + ".table_list (column_5 bigint PRIMARY KEY, nested_collection frozen<list<list<bigint>>>)");
session.execute("CREATE TABLE " + keyspaceName + ".table_map (column_5 bigint PRIMARY KEY, nested_collection frozen<map<int, map<bigint, bigint>>>)");
try {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we don't need to create a new schema in this test. Can we create a table in the default namespace instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ya instead we will have randomize the tables. I will address that as a followup. can we merge this PR?

@ebyhr ebyhr merged commit 7fac461 into trinodb:master Feb 18, 2025
@github-actions github-actions bot added this to the 471 milestone Feb 18, 2025
@anusudarsan anusudarsan deleted the anu/cassandra-test-cleanup branch February 18, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cassandra Cassandra connector cla-signed

Development

Successfully merging this pull request may close these issues.

2 participants