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

Upgrade minimum required and latest Cassandra version to 3.0 and 4.1 respectively #14562

Merged
merged 3 commits into from
Oct 26, 2022

Conversation

krvikash
Copy link
Contributor

@krvikash krvikash commented Oct 11, 2022

Description

Fixes #14404

I am increasing the cassandra version for the test environment from 2.2 to 3.0. Minimum supported version is 3.0, see here and increasing the latest cassandra version to 4.1.

Both versions use different sets of properties, so added a separate file for the 4.1 version.

Non-technical explanation

NA

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(X) Release notes are required, with the following suggested text:

# Cassandra
* Upgrade minimum required Cassandra version to 3.0. ({issue}`14562`)
* Upgrade latest Cassandra version to 4.1. ({issue}`14562`)

@cla-bot cla-bot bot added the cla-signed label Oct 11, 2022
@krvikash krvikash added the no-release-notes This pull request does not require release notes entry label Oct 11, 2022
Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

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

It would be better to mention the change to remove support of something. Let me update the description.

@ebyhr ebyhr changed the title Enable TestCassandraConnectorTest#testCreateTableWithLongColumnName test Upgrade minimum required Cassandra version to 3.0 Oct 11, 2022
@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch from 2078a2a to bef3825 Compare October 11, 2022 09:23
@krvikash krvikash removed the no-release-notes This pull request does not require release notes entry label Oct 11, 2022
@krvikash krvikash self-assigned this Oct 11, 2022
@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch from bef3825 to 0cfdfa0 Compare October 11, 2022 09:47
@github-actions github-actions bot added the docs label Oct 11, 2022
@ebyhr
Copy link
Member

ebyhr commented Oct 12, 2022

Could you confirm CI failure of plugin/trino-cassandra?

@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch 2 times, most recently from 56fe522 to eedfc8f Compare October 12, 2022 13:29
@krvikash krvikash changed the title Upgrade minimum required Cassandra version to 3.0 Upgrade minimum required and latest Cassandra version to 3.0 and 4.1 respectively Oct 12, 2022
@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch from eedfc8f to 0a1495f Compare October 12, 2022 14:19
@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch 3 times, most recently from 0813dfc to fc93d0c Compare October 19, 2022 15:39
plugin/trino-cassandra/pom.xml Show resolved Hide resolved
@@ -0,0 +1,1794 @@
# Cassandra storage config YAML
Copy link
Member

Choose a reason for hiding this comment

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

Could you put only required configuration likes cassandra-dse.yaml?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Modified the file with the minimum configuration. Though I could not find any doc on the what are properties that are not required to start the Cassandra server.

With the current property set, Tests are passing.

@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch 2 times, most recently from f616f9a to c900196 Compare October 21, 2022 08:06
@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch from c900196 to e5f4cdb Compare October 21, 2022 08:08
@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch from e5f4cdb to da8627b Compare October 26, 2022 06:54
@krvikash krvikash force-pushed the enable-test-in-cassandra-plugin branch from da8627b to fab2716 Compare October 26, 2022 06:56
@krvikash krvikash requested review from ebyhr and findepi October 26, 2022 07:01
@findepi findepi merged commit a804a7c into trinodb:master Oct 26, 2022
@findepi findepi mentioned this pull request Oct 26, 2022
@github-actions github-actions bot added this to the 401 milestone Oct 26, 2022
@krvikash krvikash deleted the enable-test-in-cassandra-plugin branch November 11, 2022 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Enable TestCassandraConnectorTest#testCreateTableWithLongColumnName
4 participants