You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by lowping <lo...@163.com> on 2016/06/26 06:30:04 UTC

some questions

Hi :


question 1:
I got a error about this cql, have you fix it already ???
select collection_type where id in (‘a’,’b’)


question 2:


I want use UDF in update, but this cql can’t execute. have some advise???


update table_name set field=my_function(field) where…




tnk u so much

Re: some questions

Posted by Jens Rantil <je...@tink.se>.
You forgot FROM in your CQL query.

Jens

Den sön 26 juni 2016 08:30lowping <lo...@163.com> skrev:

> Hi :
>
>
> question 1:
>
> I got a error about this cql, have you fix it already ???
> select collection_type where id in (‘a’,’b’)
>
> question 2:
>
> I want use UDF in update, but this cql can’t execute.  have some advise???
>
> update table_name set field=my_function(field) where …
>
>
> tnk u so much
>
-- 

Jens Rantil
Backend Developer @ Tink

Tink AB, Wallingatan 5, 111 60 Stockholm, Sweden
For urgent matters you can reach me at +46-708-84 18 32.