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

Bug #1407648 reported by Ajaya Agrawal on 2015-01-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
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.

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
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  Edit
Everyone can see this information.

Other bug subscribers