Python to type field

2016-03-19 Thread Rakesh Kumar
Hi I have a type defined as follows CREATE TYPE etag ( ttype int, tvalue text ); And this is used in a col of a table as follows evetag list > I have the following value in a file [{ttype: 3 , tvalue: '90A1'}] This gets inserted via COPY command with no issues. However when I try t

Re: Python to type field

2016-03-19 Thread Tyler Hobbs
This should be useful: http://datastax.github.io/python-driver/user_defined_types.html On Wed, Mar 16, 2016 at 1:18 PM, Rakesh Kumar wrote: > Hi > > I have a type defined as follows > > CREATE TYPE etag ( > ttype int, > tvalue text > ); > > And this is used in a col of a table as follows