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

[BUG] Astra CLI doesn't recognize databases above 25 to be queried via cqlsh #123

Closed
dram-ds opened this issue Oct 19, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working ready_for_release
Milestone

Comments

@dram-ds
Copy link

dram-ds commented Oct 19, 2023

Describe the bug

Astra CLI doesn't recognize databases above 25 to be queried via cqlsh

https://github.com/datastax/astra-sdk-java/blob/main/astra-sdk-devops/src/main/java/com/dtsx/astra/sdk/db/domain/DatabaseFilter.java#L30

@clun clun self-assigned this Oct 24, 2023
@clun
Copy link
Collaborator

clun commented Oct 24, 2023

  • The limit ash been extended to 100 with the SDK.
  • astra db list is fixed
+-----------------------+--------------------------------------+-----------+-------+---+--------------+
| Name                  | id                                   | Regions   | Cloud | V | Status       |
+-----------------------+--------------------------------------+-----------+-------+---+--------------+
| ummo                  | 581f260a-b26b-46eb-921b-2aa04cf5a41b | us-east1  | gcp   | ■ | ACTIVE       |
| vector_client_test    | 735f0dcd-cd2d-41bb-b20c-beb4f0226192 | us-east1  | gcp   | ■ | ACTIVE       |
| aicamp                | f557a9d5-c0c2-4a41-a38d-6e5b3dae0794 | us-east1  | gcp   | ■ | ACTIVE       |
| langchain4j           | c63258f4-b9fd-43ca-89a6-a8a43b700f84 | us-east1  | gcp   | ■ | ACTIVE       |
| sdk_java_test_vector  | 2597b6f6-c2a9-4dc2-aef8-b9fe840848cc | us-east1  | gcp   | ■ | ACTIVE       |
| astra_cli_test        | 17276ee1-2273-42cb-a2d5-1e3f53f05bc5 | us-east1  | gcp   |   | ACTIVE       |
| astra_cli_vector_test | 8d0b1ca1-b08d-4da9-8838-1e5694b6e446 | us-east1  | gcp   | ■ | ACTIVE       |
| tmp_db                | 65dd1a0c-4743-4954-a052-bad881205c39 | us-east1  | gcp   |   | ACTIVE       |
| test_db_25            | 5c18ae88-86a5-4117-930c-1fe69bff125f | us-east1  | gcp   |   | ACTIVE       |
| test_db_24            | 2340580a-ef65-4c20-bd03-792fdfb7557e | us-east1  | gcp   |   | ACTIVE       |
| test_db_23            | 68d899de-4ffc-4552-a2fa-6ad3bf00e0c0 | us-east1  | gcp   |   | ACTIVE       |
| test_db_22            | eca2e498-4b65-4748-b15f-f69728a48f1a | us-east1  | gcp   |   | ACTIVE       |
| test_db_21            | c518b846-3071-4524-99cd-7908cc5b0a5b | us-east1  | gcp   |   | ACTIVE       |
| test_db_20            | ac2956a1-3101-4ec9-a0af-c0ad13e9e31a | us-east1  | gcp   |   | ACTIVE       |
| test_db_19            | 2f7e2210-a4af-4ec7-a3c4-26e4cc7401d4 | us-east1  | gcp   |   | ACTIVE       |
| test_db_18            | 5e1c163f-c374-491c-abf5-f0066c40ea4f | us-east1  | gcp   |   | ACTIVE       |
| test_db_17            | 42f76a2d-d66a-416e-86b4-e720deb9b185 | us-east1  | gcp   |   | ACTIVE       |
| test_db_16            | c844f0ac-9e23-46e8-b612-8a1593668372 | us-east1  | gcp   |   | ACTIVE       |
| test_db_15            | 9ef2986d-1595-4b4d-be9f-b796dce38597 | us-east1  | gcp   |   | ACTIVE       |
| test_db_14            | 00531f4e-249d-4157-ac54-887fa1583ce4 | us-east1  | gcp   |   | INITIALIZING |
| test_db_13            | cefc679a-09f1-4c49-8d08-e271e57e9455 | us-east1  | gcp   |   | INITIALIZING |
| test_db_12            | 3aa13c02-503a-4f13-84ab-d4716494d18e | us-east1  | gcp   |   | INITIALIZING |
| test_db_11            | de8cd74f-ea90-4b86-8f83-3e2719ad4433 | us-east1  | gcp   |   | INITIALIZING |
| test_db_10            | b95f989a-95a1-455f-96f6-5a79bb1a99ac | us-east1  | gcp   |   | INITIALIZING |
| test_db_09            | 328312e5-b668-4ff8-a5b8-51d8386fd50f | us-east1  | gcp   |   | INITIALIZING |
| test_db_08            | 6d19993b-f313-4254-902f-20d5ffbc4a88 | us-east1  | gcp   |   | INITIALIZING |
| test_db_07            | 3c56810f-fd19-4ea4-9e2c-107f5fa698cb | us-east1  | gcp   |   | INITIALIZING |
| test_db_06            | 7e6775a3-98ff-41db-bca9-629390438457 | us-east1  | gcp   |   | INITIALIZING |
+-----------------------+--------------------------------------+-----------+-------+---+--------------+
  • astra db cqlsh is fixed

V0.4

astra db cqlsh test_db_06
[ERROR] NOT_FOUND: Database 'test_db_06' has not been found.

V0.5

astra db cqlsh test_db_06
[INFO]  Cqlsh is starting, please wait for connection establishment...
Connected to cndb at 127.0.0.1:9042.
[cqlsh 6.8.0 | Cassandra 4.0.0.6816 | CQL spec 3.4.5 | Native protocol v4]
Use HELP for help.
token@cqlsh> quit;

@clun clun added bug Something isn't working ready_for_release and removed in progress labels Oct 25, 2023
@clun clun added this to the 0.5 milestone Oct 26, 2023
@clun clun closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready_for_release
Projects
None yet
Development

No branches or pull requests

2 participants