Re: Using User Defined Functions in UPDATE queries

2016-03-11 Thread Kim Liu
@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Using User Defined Functions in UPDATE queries On Fri, Mar 11, 2016 at 5:09 PM, Kim Liu mailto:k...@edgewaternetworks.com>> wrote: Just for sake of clarification, then, what is the use-ca

Re: Using User Defined Functions in UPDATE queries

2016-03-11 Thread Sylvain Lebresne
ed to use something else to perform the correlation between messages. > > —Kim > > From: Sylvain Lebresne > Reply-To: "user@cassandra.apache.org" > Date: Friday, March 11, 2016 at 00:35 > To: "user@cassandra.apache.org" > Subject: Re: Using User Defined

Re: Using User Defined Functions in UPDATE queries

2016-03-11 Thread Kim Liu
g>> Date: Friday, March 11, 2016 at 00:35 To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Using User Defined Functions in UPDATE queries UDF are usable in UPDATE statement as actually trying them shows,

Re: Using User Defined Functions in UPDATE queries

2016-03-11 Thread Sylvain Lebresne
, > —Kim > > From: DuyHai Doan > Reply-To: "user@cassandra.apache.org" > Date: Thursday, March 10, 2016 at 14:03 > To: "user@cassandra.apache.org" > Subject: Re: Using User Defined Functions in UPDATE queries > > Surely an error because the grammar definition for UPDATE does not mention > any function call: > [SNIPPED] > > Unless the grammar in the doc is itself not up-to-date > >> >>>

Re: Using User Defined Functions in UPDATE queries

2016-03-10 Thread Kim Liu
: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Using User Defined Functions in UPDATE queries Surely an error because the grammar definition for UPDATE does not mention any function call: [SNIPPED] Unless the grammar in the doc is itself not up-to-date

Re: Using User Defined Functions in UPDATE queries

2016-03-10 Thread DuyHai Doan
s not supposed to allow this, then there is a bug > somewhere because in 3.3 it certainly seems to be parsed and executed > without complaint. > > —Kim > > > From: DuyHai Doan > Reply-To: "user@cassandra.apache.org" > Date: Thursday, March 10, 2016 at 13:21 > To: "user@cassandra.apache.org" > Subject: Re: Using User Defined Functions in UPDATE queries > > You have misread the CQL doc given in the link. According to CQL update > grammar it's not possible to use UDF. I see UDF only allowed in select > clause... > >> >>

Re: Using User Defined Functions in UPDATE queries

2016-03-10 Thread Kim Liu
:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Using User Defined Functions in UPDATE queries You have misread the CQL doc given in the link. According to CQL update grammar it's not possible to use UDF. I see UDF only allowed in select clause...

Re: Using User Defined Functions in UPDATE queries

2016-03-10 Thread DuyHai Doan
You have misread the CQL doc given in the link. According to CQL update grammar it's not possible to use UDF. I see UDF only allowed in select clause... Le 10 mars 2016 22:07, "Kim Liu" a écrit : > Hello - > I am experimenting with User Defined Functions in Cassandra (3.3) and I am > a bit puzzle

Using User Defined Functions in UPDATE queries

2016-03-10 Thread Kim Liu
Hello - I am experimenting with User Defined Functions in Cassandra (3.3) and I am a bit puzzled by a problem I am having when testing them with cqlsh. I have tried to find the answers online, but have not had any luck so far. According to http://cassandra.apache.org/doc/cql3/CQL.html it looks