Re: *URGENT* Migration across different Cassandra cluster few having same keyspace/table names

2020-01-16 Thread Vova Shelgunov
Loader* https://www.datastax.com/blog/2018/05/introducing-datastax-bulk-loader On Fri, Jan 17, 2020, 09:09 Vova Shelgunov wrote: > DataStax bulk loaded can be an option if data is large. > > On Fri, Jan 17, 2020, 07:33 Nitan Kainth wrote: > >> If the keyspace already exist

Re: *URGENT* Migration across different Cassandra cluster few having same keyspace/table names

2020-01-16 Thread Vova Shelgunov
DataStax bulk loaded can be an option if data is large. On Fri, Jan 17, 2020, 07:33 Nitan Kainth wrote: > If the keyspace already exist, use copy command or sstableloader to merge > data. If data volume it too big, consider spark or a custom java program > > > Regards, > > Nitan > > Cell: 510 44

Number of values in IN clause for clustering column

2018-08-19 Thread Vova Shelgunov
Hi All, Let's imagine that I have the following schema: CREATE TABLE IF NOT EXISTS history_data ( discriminator uuid, a bigint, b bigint, date date, data custom_type, PRIMARY KEY ((discriminator, a, b), date) ) WITH CLUSTERING ORDER BY (date DESC); I want to delete the da

CASSANDRA-8488 status

2016-11-20 Thread Vova Shelgunov
Dear Community, What is the current status of CASSANDRA-8488 ticket? In my application, I need to do such filtering inside a partition. Regards, Uladzimir

Re: cassandra schema initialization in docker

2016-09-01 Thread Vova Shelgunov
gt; Patrick > > > > On Thu, Sep 1, 2016 at 12:32 PM, Vova Shelgunov wrote: > >> Thanks. >> As for production I will do it in another way, it is just for development >> purposes to provide an easy way to run application on local machine. >> >> On Sep 1,

Re: cassandra schema initialization in docker

2016-09-01 Thread Vova Shelgunov
;> >> -- >> Michael Mior >> michael.m...@gmail.com >> >> 2016-09-01 14:45 GMT-04:00 Vova Shelgunov : >> >>> I accept both cases. Second will work because I use create if not exists. >>> >>> 2016-09-01 21:02 GMT+03:00 Michael Mior : &

Re: cassandra schema initialization in docker

2016-09-01 Thread Vova Shelgunov
d? > > -- > Michael Mior > michael.m...@gmail.com > > 2016-09-01 13:57 GMT-04:00 Vova Shelgunov : > >> Sorry, I did not specify, that I need to execute cql right >> after cassandra container start. >> >> 2016-09-01 20:52 GMT+03:00 Michael Mior : >>

Re: cassandra schema initialization in docker

2016-09-01 Thread Vova Shelgunov
; wishing to use the Cassandra instance inside the container will require the > port to be exposed somehow anyway. > > -- > Michael Mior > michael.m...@gmail.com > > 2016-09-01 13:47 GMT-04:00 Vova Shelgunov : > >> Hi, >> >> I wonder if anyone can sugge

cassandra schema initialization in docker

2016-09-01 Thread Vova Shelgunov
Hi, I wonder if anyone can suggest a way how to initialize application schema to cassandra inside docker container (e.g. by executing cql file). Is there a way? Thanks, Uladzimir

Cqlsh copy to and copy from

2015-11-18 Thread Vova Shelgunov
Hi all, I have a trouble with copy functionality in cassandra 3.0. When I am trying to copy my table to file, some of UDTs have the following representation: {field1: , field2: } They have no values, and when I tried to restore this table, this rows was not imported. Do you plan to fix that, e

cassandra 3.0 and datastax java driver 3.0.0 beta1: unresolved user type DoubleType

2015-11-10 Thread Vova Shelgunov
Hi All, When I am trying to insert an object of the attached "table_1.png" class I've got the error: com.datastax.driver.core.exceptions.UnresolvedUserTypeException: Cannot resolve user type keyspace1."org.apache.cassandra.db.marshal.DoubleType" Could you please suggest the solution? Thank you

cassandra 3.0 rc1 and datastax java driver 3.0.0 alpha3

2015-10-10 Thread Vova Shelgunov
Hi all, I've tried to connect to the cassandra 3.0 cluster, using datastax java driver, but I got the following exception when I tried to craete MappingManager: Caused by: com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: [varchar <-> V]

Re: Running java-driver in parallel cassandra-driver-core 2.1.5, multithreading wokrs extremely slow.

2015-07-02 Thread Vova Shelgunov
Did you tried to use BatchStatement? On Jul 2, 2015 11:00 AM, "Serega Sheypak" wrote: > Hi, I have weird driver behaviour. Can you help me please to find the > problem? > Problem: I try to insert data using 10 threads. > I see that 10 thread starts, they start to insert some data and then they >

Re: 'CLUSTERING' columns

2015-06-23 Thread Vova Shelgunov
You need to add id column to your primary key, and also you should restrict remaining part of the primary key in your queries. Clustering key is responsible for data sorting within the partition. 2015-06-23 10:17 GMT+03:00 ICHIBA Sara : > Hey there, > > I have imported the following schema to my