cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-66) get_column throws exception on missing column
Date Tue, 21 Apr 2009 16:34:47 GMT


Jonathan Ellis commented on CASSANDRA-66:

    return empty lists instead of raising an error where applicable; otherwise, use
    NotFoundError instead of CassandraException.  rely on THRIFT-378 to report internal errors.
    also, add field numbers to work around thrift bug generating python code.

    move CF checking into CassandraServer.  begin to expose InvalidRequestException.  r/m
unused "del" cfmaps from batch methods.

(new libthrift.jar is built with the THRIFT-378 patch applied.)

> get_column throws exception on missing column
> ---------------------------------------------
>                 Key: CASSANDRA-66
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Jonathan Ellis
>             Fix For: 0.3
>         Attachments: 0001-move-CF-checking-into-CassandraServer.-begin-to-exp.patch,
0002-return-empty-lists-instead-of-raising-an-error-where.patch, libthrift.jar
> get_column() throws a TException when a column is missing. It should throw a special
exception (e.g, ColumnMissingException) to distinguish this case from a real failure.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message