[jira] [Commented] (CASSANDRA-6453) Improve error message for invalid property values during parsing.

2013-12-16 Thread Brian ONeill (JIRA)

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

Brian ONeill commented on CASSANDRA-6453:
-

[~slebresne] Agreed, +1.  Five minute change to the code might save people 
hours of time.  
Thanks.

 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
Priority: Trivial
 Fix For: 1.2.14

 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)


[jira] [Commented] (CASSANDRA-6453) Improve error message for invalid property values during parsing.

2013-12-15 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko commented on CASSANDRA-6453:
--

I'm afraid I don't follow. Doesn't it only affect CREATE/ALTER KEYSPACE/TABLE 
statements, that aren't exactly large, and aren't usually prepared, in the 
first place?

 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)


[jira] [Commented] (CASSANDRA-6453) Improve error message for invalid property values during parsing.

2013-12-15 Thread Brian ONeill (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-6453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)