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

Update query used to check for Cassandra connectedness #148

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

boguth
Copy link
Contributor

@boguth boguth commented Nov 13, 2023

I discovered rather late that DESCRIBE KEYSPACES is specifically a cqlsh command and might not be supported by every Cassandra version.

Using SELECT * FROM system_schema.keyspaces queries Cassandra's system schema directly - going around any tool-specific language - and is indicated for Cassandra versions 5.0 and higher.

@boguth
Copy link
Contributor Author

boguth commented Nov 14, 2023

cc: @lucasmdrs

Copy link
Contributor

@lucasmdrs lucasmdrs left a comment

Choose a reason for hiding this comment

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

Thank you for checking this @boguth ! I was unaware of the incompatibility too..

@lucasmdrs lucasmdrs merged commit 3eb1fdc into hellofresh:master Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants