There is no check for presence of keys in expected field of put_item.
Bug #1407648 reported by
Ajaya Agrawal
on 2015-01-05
This bug report is a duplicate of:
Bug #1415441: Range key in expected field of put_item throws error..
Edit
Remove
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.
| Ajaya Agrawal (ajayaa) wrote : | #2 |
isviridov,
table schema:
https:/
put_item reqeust:
https:/
https:/
Ilya Sviridov (isviridov)
on 2015-01-23
| Changed in magnetodb: | |
| status: | Incomplete → Triaged |
| importance: | Undecided → Medium |
| tags: | added: data-api validation |
| Changed in magnetodb: | |
| milestone: | none → kilo-2 |
Ilya Sviridov (isviridov)
on 2015-01-28
| Changed in magnetodb: | |
| importance: | Medium → High |
To post a comment you must log in.


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