cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian ONeill (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6453) Improve error message for invalid property values during parsing.
Date Sun, 15 Dec 2013 13:58:07 GMT

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

Brian ONeill commented on CASSANDRA-6453:
-----------------------------------------

Honestly, I didn't look deep enough to see where this part of the grammar is used.  

I think you are right.  It will likely affect only people trying to create generic frameworks
that allow people to manipulate schemas.  

That is my case...
I'm updating Virgil (a general REST interface for C*).  I have a REST call that allows people
to create/alter schemas, which is why I was trying to use a prepared statement (with binding).
 


> Improve error message for invalid property values during parsing.
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-6453
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6453
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Brian ONeill
>            Assignee: Brian ONeill
>            Priority: Trivial
>         Attachments: CASSANDRA-6354-patch.txt
>
>
> Trivial change to the error message returned for invalid property values.
> Previously, it would just say "Invalid property value : ?".  If you were constructing
a large prepared statement, with multiple question marks, it was difficult to track down which
one the server was complaining about.  This enhancement tells you which one. =)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message