cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Popescu <al...@datastax.com>
Subject Re: UDF and DevCenter
Date Thu, 22 Jan 2015 16:54:50 GMT
Thanks for the feedback Andy. I'll forward this to the DevCenter team.

Currently we have an email for sending feedback our way:
devcenter-feedback@datastax.com. And the good news is that in the next
release there will be an integrated feedback form directly in DevCenter.

On Thu, Jan 22, 2015 at 8:15 AM, Andrew Cobley (Staff) <
a.e.cobley@dundee.ac.uk> wrote:

>
> 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 02:10:05',{'sensor':{
> iValue:101},'sensor1':{fValue:30.5}});
>
>  Works ok (rund in devcenter and cqlsh)  but dev centre flags the missing
> values with an error.  Minor, but may throw people a curve.
>
>  Andy
>
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
>



-- 

[:>-a)

Alex Popescu
Sen. Product Manager @ DataStax
@al3xandru

Mime
View raw message