Re: Create table with ID - Question

2016-09-28 Thread Ken Hancock
So I confirmed with Aleksey before firmly sticking foot in mouth, but you CAN do this through Thrift -- Thrift has an API for sending a CQL string via the Thrift interface.. We used to do something similar through Hector. Not sure if this strictly fits your "is this possible via Thrift

Re: Create table with ID - Question

2016-09-28 Thread Edward Capriolo
I have a similar set of problems. I will set the stage: in the past, for a variety of reasons I had to create tables(column families) by time range for an event processing system. The man reason was expiring data (TTL) did not purge easily. It was easier to simply truncate/drop old column

Re: Create table with ID - Question

2016-09-28 Thread Aleksey Yeschenko
No way to do that via Thrift I’m afraid, nor will there be one. Sorry. --  AY On 28 September 2016 at 16:43:58, Roman Bielik (roman.bie...@openmindnetworks.com) wrote: Hi, in CQL it is possible to create a table with explicit ID: CREATE TABLE ... WITH ID='xyz'. Is something like this

Create table with ID - Question

2016-09-28 Thread Roman Bielik
Hi, in CQL it is possible to create a table with explicit ID: CREATE TABLE ... WITH ID='xyz'. Is something like this possible via Thrift interface? There is an int32 "id" field in CfDef, but it has no effect on the table ID. My problem is, that concurrent create table (add_column_family)