Questions tagged as 'cassandra'

1
answer

Problem using sync_type from cassandra-python-driver

I'm using userType but I get this error Traceback (most recent call last): File "cassandra-test.py", line 70, in <module> sync_type(Image) TypeError: sync_type() missing 1 required positional argument: 'type_model' The code...
asked by 31.07.2017 / 17:04
1
answer

When using django-cassandra-engine sessions I get an error in INSTALLED_APPS

I'm using django-cassandra-engine for session storage, when I start the server I get this error: RuntimeError: Model class django.contrib.sessions.models.Session doesn't declare an explicit app_label and isn't in an application in INSTALLED_AP...
asked by 02.08.2017 / 00:35
1
answer

Insert a large number of records in cassandra

I need to insert 1 million records in cassandra, I'm using the datastax driver, I have a correctly mapped teacher class and a list of teachers, then using the mapper I call the save method. Cluster cluster = Cluster.builder().addContac...
asked by 13.11.2017 / 17:33
1
answer

Pass a TEXT data to FLOAT in CQL

I have in Cassandra a column that has the format TEXT , although in truth what it stores are numbers (for example 12.23 ) and I need to do a SELECT in CQL to compare if it is greater than a certain number. For example: SE...
asked by 27.11.2016 / 18:44
1
answer

How to import a csv file in Cassandra?

Good afternoon, I try to import a csv file in Cassandra that is very long. It is dealing with food products: ingredients, nutrition, labels. It comes from Open Food Facts. It lists information about food products: ingredients, nutritional inform...
asked by 22.11.2017 / 15:02
1
answer

NoHostAvailableException in Cassandra

I need to make a presentation + connection to Cassandra for class. The fact is that it does not let me connect when I use the datastax drivers. I have gone a thousand times because apparently there are old versions that are incompatible and well...
asked by 17.11.2017 / 17:48
0
answers

I have problems with nodejs + ajax + cassandra

I have the following problem:  I'm trying to develop an App, with Nodejs + cassandra, but inside a form that I have, when calling an ajax method which is inside the same form (.jade) it gives me an error here is the code: script. function...
asked by 29.08.2018 / 02:37
1
answer

Cassandra no longer recognizes the creative command of Keyspace

I try to create a keyspace about Cassandra with the help of the tuttorialspoint tutorial but there is a problem: When I make the command to create a Keyspace: ;CREATE KEYSPACE k1 WITH strategy_class = 'SimpleStrategy' AND trategy_otpio...
asked by 27.11.2017 / 19:58