There is no check for presence of keys in expected field of put_item.

Bug #1407648 reported by Ajaya Agrawal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
Triaged
High
Unassigned

Bug Description

Log
======
code=2200 [Invalid query] message="PRIMARY KEY column 'u_Author' cannot have IF conditions"
======
The query goes to cassandra and fails. We could validate that before that reaches cassandra.

Revision history for this message
Ilya Sviridov (isviridov) wrote :

ajayya, could you please provide the table schema and query.
Primary key could be in expected in case of checking item existing

http://magnetodb.readthedocs.org/en/latest/put_item.html#conditions-support

~ isviridov

Changed in magnetodb:
status: New → Incomplete
Revision history for this message
Ajaya Agrawal (ajayaa) wrote :
Changed in magnetodb:
status: Incomplete → Triaged
importance: Undecided → Medium
tags: added: data-api validation
Changed in magnetodb:
milestone: none → kilo-2
Changed in magnetodb:
importance: Medium → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.