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
2
votes
1 answer

Use dsbulk load in python

I created a Cassandra database in DataStax Astra. I'm able to connect to it in Python (using cassandra-driver module, and the secure_connect_bundle). I wrote a few api in my Python application to query the database. I read that I can upload csv to…
F.S.
  • 1,175
  • 2
  • 14
  • 34
1
vote
1 answer

How to use a vector database to find matches between users?

I have an app where users can sign up and fill out a profile. This profile consists of 16 questions that can be answered using a slider. Each "answer" for a question can be between -3 and 3 (or 0 and 7). A user should be able to find similar users…
Andre Zimpel
  • 2,323
  • 4
  • 27
  • 42
1
vote
2 answers

Datastax: No file I/O Permission

I have a table called solar_system_volatiles in my Astra Datastax serverless database. I'm trying to copy data from a .csv file into a table on Astra db. The code I've tried is below in the image. However, i'm having an issue where I am not allowed…
Martin
  • 61
  • 2
  • 9
1
vote
1 answer

cql-proxy: error: must provide either bundle path, token, or contact points

How to resolve this error: cql-proxy: error: must provide either bundle path, token, or contact points This is my docker-compose.yml: cassandra-service: image: datastax/cql-proxy:v0.1.2 container_name: cassandra-container hostname:…
alia
  • 163
  • 3
  • 12
1
vote
2 answers

How do I start the CDC agent in a Stargate container?

I'm trying to build an integration test for Datastax CDC. I'm trying to follow the directions here to create a containerized Stargate instance running the CDC Java agent. I'm using the following docker file: FROM stargateio/coordinator-4_0:v2 ENV…
1
vote
2 answers

How do I filter with the REST API in Astra DB?

Currently, I have problem when using Rest API in DataStax Astra. For example data: { "count": 2, "Members": [ { "created_at": "", "intfield": null, "id": "294", "role": "BA", "username": "Join" }, { …
1
vote
1 answer

Getting connection timeouts on application startup

We have a staging instance of our web app that connects to DataStax Astra PAYG using NodeJS driver. Sometimes when the app has been idle and is first accessed we get repeated instances of this error for around a minute, then the errors stop and…
1
vote
3 answers

How do I connect to Astra DB from my flutter application's login page?

I am currently working on a flutter application using dart language. I am trying to use AstraDB for my login page authentication of users' email and password using the http flutter package. The following are the code I used for creating the the data…
S Kesavan
  • 11
  • 2
1
vote
1 answer

Connecting to Astra DB from Spring Boot app, getting AuthenticationException

[s0] Authentication error (AuthenticationException: Authentication error on node cdbd07ee-81fe-4adf-85e4-34338172ad24-asia-south1.db.astra.datastax.com/:29042:087b610b-271c-4e87-940d-65f26a2875be: \ Node…
1
vote
0 answers

FileNotFoundError exception thrown while trying to connect to DataStax AstraDB with Cassandra-driver and python

While trying to connect to DataStax AstraDB using the secure_connect_bundle.zip, FileNotFoundError has been thrown. The error seems to generate from the driver as it tries to read from a tempfile it has created by unzipping the .zip file. This is…
1
vote
2 answers

Django models for astra datastax db

I have developed a website on Django. Initially, I used Django's default Database which is Sqlite3. Now I want to use Astra Datastax DB which is Cassandra. I am not able to convert Django.dB - models into Cassandra.cqlengine - columns function. I…
1
vote
1 answer

cassandra dsbulk mapping failed

I am using dsbulk to load dataset into the datastax astra error message: my table structure: CREATE TABLE project( FL_DATE date, OP_CARRIER text, DEP_DELAY float, ARR_DELAY float, PRIMARY KEY ((FL_DATE), OP_CARRIER) ) WITH CLUSTERING ORDER…
james kam
  • 49
  • 3
1
vote
4 answers

How can I connect to my Datastax Cassandra database?

hope all is well with you. I'm currently working with a cassandra database and I'm almost done with it. Currently I am deploying my services and an error occurred. To work best with cassandra in my nestjs back-end I use the framework…
1
vote
0 answers

DataStax Astra Role unauthorized for operation Rest API Table Select

I am using Postman to make an HTTP rest call to DataStax Astra Cassandra DB to select on a table but it's telling me I don't have select table permission even though the user for the token I'm providing does have that permission. Here are my…
1
vote
0 answers

How to create structure of table for best query answers and performance in Cassandra?

I have the following situations: I need to redesign a Cassandra keyspace by restructuring multiple tables. The existing structure is the following token@cqlsh> describe series; CREATE TABLE series ( type text, name text, as_of…
R13mus
  • 752
  • 11
  • 20