Questions tagged [datastax-astra]

DataStax Astra is a serverless, multi-cloud database service built on Apache Cassandra.

DataStax Astra is a serverless, multi-cloud database service built on Apache Cassandra. The service allows users to deploy a scalable Cassandra cluster across multiple cloud providers.

About: https://www.datastax.com/products/datastax-astra

Main: https://astra.datastax.com

For information on how to develop and integrate with many 3rd party tools, be sure to check out: https://awesome-astra.github.io/docs/

109 questions
1
vote
1 answer

Trying to change the style in "Select an Option" dropdown of Woocommerce checkout

I am trying to change the "Select an option" text's style, of WooCommerce checkout page, in bolder because it is faded and I get an accessibility error when scanned with WAVE. I have tried this CSS but nothing changes, could you indicate me where am…
1
vote
1 answer

Rest API Cassandra ALLOW FILTERING

I have a DataStax Astra database and I have this example for how to get a user with a specific username: curl --request GET \ --url…
1
vote
2 answers

Data is storing unorganized in Datastax Astra DB

I have uploaded my csv file in my Datastax Astra DB. The thing is why the data when it is uploaded, the rows gets unorganized or random. Say if in my csv the row id is like 1, 2, 3, ... Then when I am uploading this to my DB, it gets uploaded…
Pritam Sinha
  • 309
  • 6
  • 11
1
vote
1 answer

How to maintain data type in respond after connecting with Datastax Astra DB?

I am using Datastax Astra database. I am uploading csv file and I am setting all the columns data type as float, as per column. I connected with my db via python http_method. res = astra_client.request( method=http_methods.GET, …
Pritam Sinha
  • 309
  • 6
  • 11
1
vote
2 answers

Datastax DSBulk Utility giving errors on load CSV data to Astra

I am migrating data from EC2 Cassandra Nodes to DataStax Astra (Premium Account) using DSBulk utility. Command used: dsbulk load -url folder_created_during_unload -header true -k keyspace -t table -b "secure-connect-file.zip" -u username -p…
Vitul Goyal
  • 611
  • 7
  • 19
1
vote
1 answer

Cassandra Connection Problem in Heroku deployment

Hi I have deployed a Flask (ML Project) in Heroku cloud and the app is published. But when I try to predict the model, it gave an error of database connection. When I debug I found out that the connection to the cassandra db is not working. Here was…
user1295308
  • 425
  • 7
  • 20
1
vote
1 answer

GraphQL API (Astra DB) - the list of existing tables and fields

What is the query syntax for getting the list of all previously created tables? And how can I then view selected table fields?
Pro
  • 71
  • 4
1
vote
1 answer

When doing a SELECT in Cassandra (Spark) by an SAI field. In what order are the rows returned?

If I have a table in Astra created like so: CREATE TABLE rayven.mytable ( a text, b text, c timestamp, PRIMARY KEY (a, c) ) WITH CLUSTERING ORDER BY (c DESC) I then added the SAI index: CREATE CUSTOM INDEX b_index ON mytable (b) USING…
adinas
  • 4,150
  • 3
  • 37
  • 47
1
vote
0 answers

Why might DSBulk Load stop operation without any errors?

I have created a Cassandra database in DataStax Astra and am trying to load a CSV file using DSBulk in Windows. However, when I run the dsbulk load command, the operation never completes or fails. I receive no error message at all, and I have to…
1
vote
2 answers

Trying to connect from DataStax Studio to my Astra cluster - Connection test failed

Just got my brand new 6.8 DataStax Astra (Cassandra) and downloaded studio from https://www.datastax.com/dev/datastax-studio. My Nodejs connection works great. But trying connect from Studio - everything fails with SSL configurations: All host(s)…
Oly
  • 302
  • 1
  • 8
1
vote
1 answer

Datastax Astra netlify and react-app, should I use nodejs client or REST API for serverless functions?

I built a simple react app with "create-react-app" and I want to use serverless functions with netlify. I use DataStax Astra Cassandra DB for that purpose, and created a netlify.toml config and .env variables (for the Database) inside my react…
MMMM
  • 3,320
  • 8
  • 43
  • 80
1
vote
0 answers

How do I store the DB auth token so it is available to other modules in Node.js?

I am trying to connect Node application with DataStax - Cassandra online DB drivers with the methods provided by them using the Request module of NodeJs. Code-behind is as per below: const request = require('request-promise'); var jar =…
1
vote
1 answer

Cassandra InvalidQueryException: Key may not be empty

InvalidQueryException: Key may not be empty When using the Java Driver for DataStax Astra Cassandra DB. I'm 100% sure that my partitionKey or my clusteringColumns are not empty. Can someone tell me what this error can mean besides that? The same…
ValW
  • 353
  • 1
  • 11
0
votes
1 answer

How are the results of a Cassandra Vector Search sorted?

I have a table of movies in Cassandra (hosted on Astra DB), with a lone primary key of movie_id. There are several columns, but for my vector search I really only care about the title. The movie_vector column has a storage attached index (SAI) on…
Aaron
  • 55,518
  • 11
  • 116
  • 132
0
votes
1 answer

Issue inserting a new record with @astrajs/rest

I'm new to astra db, and am having issues trying to insert a record into my table called 'usersnew' when using @astrajs/rest This is the structure of my table: CREATE TABLE mykeyspace.usersnew ( id uuid PRIMARY KEY, email text, name…