[ 
https://issues.apache.org/jira/browse/CASSANDRA-21625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Wang updated CASSANDRA-21625:
----------------------------------
    Attachment: ci_summary.html

> Column Comparison with null NPEs for Accord Transaction
> -------------------------------------------------------
>
>                 Key: CASSANDRA-21625
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21625
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Accord
>            Reporter: Alan Wang
>            Assignee: Alan Wang
>            Priority: Normal
>         Attachments: ci_summary.html, result_details.tar.gz
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following transaction NPEs, we should instead reject transactions that 
> compare a column with null. IS NULL/IS NOT NULL should be used instead. 
>  
> {code:java}
> BEGIN TRANSACTION
> LET row1 = (SELECT * FROM distributed_test_keyspace.accordtbl0 WHERE k=1);
> IF row1.v = null THEN
>         UPDATE distributed_test_keyspace.accordtbl0 SET v=1 WHERE k=1;
> END IF
> COMMIT TRANSACTION{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to