cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Shaw (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3753) Update CqlPreparedResult to provide type information
Date Fri, 20 Jan 2012 15:19:39 GMT

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

Rick Shaw commented on CASSANDRA-3753:
--------------------------------------

This will be a very valuable feature for the clients. If it was in place it would greatly
facilitate client side error checking and argument transformation. 

_But_ I am skeptical that we can come up with a reliable method to determine type to be returned
in the "prepare" phase of the client-server exchange. The barrier is (I think) that {{Term}}
can occur on both the "left" and "right" side so it can for instance _name_ a column. So until
the column name is actually resolved you can't determine its type.
                
> Update CqlPreparedResult to provide type information
> ----------------------------------------------------
>
>                 Key: CASSANDRA-3753
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3753
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 1.1
>            Reporter: Jonathan Ellis
>            Priority: Critical
>              Labels: cql
>             Fix For: 1.1
>
>
> As discussed on CASSANDRA-3634, adding type information to a prepared statement would
allow more client-side error checking.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message