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 interface"

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 families

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 po