cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Resolved] (CASSANDRA-6988) Add error code to thrift InvalidRequestException
Date Fri, 11 Mar 2016 17:00:40 GMT


Aleksey Yeschenko resolved CASSANDRA-6988.
    Resolution: Not A Problem

With Thrift officially deprecated, we are not going to extend its functionality any further.
Closing as Not A Problem. 

> Add error code to thrift InvalidRequestException
> ------------------------------------------------
>                 Key: CASSANDRA-6988
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Eremeev
>            Priority: Minor
> When issuing execute_prepared_cql3_query through the thrift api with invalid $queryId
I get InvalidRequestException. I get same exception when attempting to execute statement with
invalid arguments. The only way to distinguish between these errors is to parse error string
in $why (which can be changed on server side with version upgrade).
> I think its would be nice to add $errorCode (similar to ones in binary protocol, like
0x2500 for invalid query id) to InvalidRequestException in thrift.

This message was sent by Atlassian JIRA

View raw message