[ 
https://issues.apache.org/jira/browse/CASSANDRA-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481800#comment-13481800
 ] 

Edward Capriolo commented on CASSANDRA-3799:
--------------------------------------------

It seems like the entire statement could be processed server side. 

INSERT INTO TABLE (name,column,value) VALUES 
(ascii('yo'),ascii('donthis'),ascii('onserver'));

I can not image a JDBC client would parse something like

SELECT trim(concat('a','b')) from table;

on the client side. 
                
> cqlsh: ASSUME should also change how values are sent to cassandra
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-3799
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3799
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>    Affects Versions: 1.0.3
>            Reporter: paul cannon
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>              Labels: cqlsh
>             Fix For: 1.3
>
>
> cqlsh's ASSUME command currently only changes how query *return* values are 
> deserialized, and never transforms user CQL text before sending to Cassandra.
> Apparently cassandra-cli also changes how values are interpreted and 
> marshaled for Cassandra, so user expectation is that cqlsh should also do 
> this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to