cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cobley (Staff)" <>
Subject UDF and DevCenter
Date Thu, 22 Jan 2015 16:15:28 GMT

I’m not sure where to send “faults” for the DataStax Devcenter so I’ll send them here.
 If I define a UDT such as:

CREATE TYPE if not exists sensorsync.SensorReading (

fValue float,
sValue text,
iValue  int

and a table

Create table if not exists sensorsync.Sensors(
name uuid,
insertion_time timestamp,
reading map <text,frozen<SensorReading>>,
Primary Key (name,insertion_time)

If I now want to insert data  but not use all the fields in the UDT DevCenter flags it as
a fault.  So:

insert into sensorsync.Sensors (name,insertion_time,reading) values (7500e917-04b0-4697-ae7e-dbcdbf7415cb,'2015-01-01

Works ok (rund in devcenter and cqlsh)  but dev centre flags the missing values with an error.
 Minor, but may throw people a curve.


The University of Dundee is a registered Scottish Charity, No: SC015096
View raw message