cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4147) cqlsh doesn't accept NULL as valid input
Date Fri, 13 Apr 2012 15:14:17 GMT

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

Jonathan Ellis commented on CASSANDRA-4147:
-------------------------------------------

Explicitly inserting a null doesn't make much sense either; to Cassandra/CQL, null is the
complete absence of a value.  So we'll *return* a null if you ask for column {{foo}} and no
{{foo}} exists for a given row, but I can't think of why you'd want to explicitly insert one.
 (And a row consisting entirely of nulls wouldn't exist at all...)
                
> cqlsh doesn't accept NULL as valid input
> ----------------------------------------
>
>                 Key: CASSANDRA-4147
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4147
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.0.8
>            Reporter: T Jake Luciani
>            Assignee: paul cannon
>            Priority: Minor
>             Fix For: 1.0.10
>
>
> cqlsh:cfs> insert into foo (key,val1,val2)values('row2',NULL,NULL);
> Bad Request: unable to make long from 'NULL'

--
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