A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/datastax/astra-cli/releases below:

Releases · datastax/astra-cli · GitHub

Releases: datastax/astra-cli

Releases · datastax/astra-cli

0.6 Release Notes 0.6 New Commands
astra db list-embeddings-providers
astra db describe-embeddings-provider
astra db list-collections ...
astra db create-collection...
astra db delete-collection...
astra db describe-collection
astra db truncate-collection...
astra db list-tables ...
astra db delete-table...
astra db describe-table
astra db truncate-table...
Bug Fixes Improvements 0.5 New Features

A new command list-collections is available but will be processed only if target database is vector enabled.

Sample command

astra db list-collections test_astra_cli_vector

Expected output

+------------------------+-----------+-----------+
| Name                   | Dimension | Metric    |
+------------------------+-----------+-----------+
| test_collection_simple |           |           |
| test_collection_vector | 1536      | cosine    |
| demo_vector            | 5         | cosine    |
+------------------------+-----------+-----------+

Displaying endpoints for different apis:

Sample command

astra db get-endpoint-api my-db
astra db get-endpoint-swagger my-db
astra db get-endpoint-playground my-db

Expected output

astra db get-endpoint-api my-db
https://93783a2d-2450-422a-8b4e-5dec1b4384fa-westus3.apps.astra.datastax.com/api/json

Note: The command astra db create-dotenv to add the key ASTRA_DB_API_ENDPOINT accordingly

For Vector Databases, you can now create or delete collections

Sample Create

astra db create-collection my-db --collection col1 --dimension 1536 --metric cosine

Sample delete

astra db delete-collection my-db --collection col1 

When listing databases a flag is added for only the vector databases

Sample Create

Sample output

+-----------------------+--------------------------------------+-----------+-------+---+-----------+
| Name                  | id                                   | Regions   | Cloud | V | Status    |
+-----------------------+--------------------------------------+-----------+-------+---+-----------+
| test_astra_cli_vector | db7d003e-b9d3-433d-be12-d252b2ed30da | us-east1  | gcp   | ■ | ACTIVE    |
| db_vector             | 93783a2d-2450-422a-8b4e-5dec1b4384fa | westus3   | azure | ■ | ACTIVE    |
+-----------------------+--------------------------------------+-----------+-------+---+-----------+

You want to separate region for astra serverless and regions for vector

List serverless regions

astra db list-regions-serverless

List vector regions

astra db list-regions-vector
BUG Fixes Improvements Maintenance Upgrading With HomeBrew (Mac Intel Only)
brew upgrade datastax/astra-cli/astra-cli
Manually
curl -Ls "https://dtsx.io/get-astra-cli" | bash
0.4 New Features
astra config create <env_name> --token --env DEV

config list updated:

+------+-----------------------------------------+
| env  | configuration                           |
+------+-----------------------------------------+
| DEV  | sample-dev                              |
| TEST | sample-test                             |
| PROD | datastaxDevs     (in use)               |
| PROD | gcp_integrations                        |
+------+-----------------------------------------+
astra db create <db_name> --vector

db list updated:

+---------------------------+--------------------------------------+-----------+-------+---+-----------+
| Name                      | id                                   | Regions   | Cloud | V | Status    |
+---------------------------+--------------------------------------+-----------+-------+---+-----------+
| astra_cli_test            | c4e77247-575a-4853-857e-692f49dab7b6 | us-east1  | gcp   |   | ACTIVE    |
| astra_cli_vector_test     | 35f29a92-fb58-4bbc-84a0-a98615052cad | us-east1  | gcp   | ■ | ACTIVE    |
+---------------------------+--------------------------------------+-----------+-------+---+-----------+
Improvements Bug Fixing Maintenance Upgrading.
brew upgrade datastax/astra-cli/astra-cli
curl -Ls "https://dtsx.io/get-astra-cli" | bash
0.3 New Features Improvements Bug Fixing Maintenance How to update
brew upgrade datastax/astra-cli/astra-cli
curl -Ls "https://dtsx.io/get-astra-cli" | bash

First execution of DSBulk, Pulsar-shell and CqlShell will be slow as the component will install latest version

0.2.1

This release will fix some open issues and improve quality overall:

Fixes Maintenance Evolutions 0.2 V0.2 Release Note Fixing Bug Create dotenv

To create the file .env the system assumed it was always on default region. This version fixed this behaviour.

0.1

Details of different Assets for this release:

Asset Description astra-cli-0.1-linux.zip Native image for Linux environments, install with manual script astra-cli-0.1-mac.zip Native image for Mac environments, install with manual script astra-cli-0.1-mac.tar.gz Native image for Mac environments, install with homebrew astra-cli-0.1-java.tar.gz Fat jar, jdk17 required and manual installation astra-cli-0.1-java.zip Fat jar, jdk17 required and manual installation

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4