pvbouwel ec731ac901 Improve DDB expressions support4: Execution using AST
Part of structured approach for UpdateExpressions:
 1) Expression gets parsed into a tokenlist (tokenized)
 2) Tokenlist get transformed to expression tree (AST)
 3) The AST gets validated (full semantic correctness)
 4) AST gets processed to perform the update -> this commit

This commit uses the AST to execute the UpdateExpression.
All the existing tests pass. The only tests that have been
updated are in test_dynamodb_table_with_range_key.py because
they wrongly allow adding a set to a path that doesn't exist.
This has been alligend to correspond to the behavior of AWS
DynamoDB.

This commit will resolve https://github.com/spulec/moto/issues/2806
Multiple tests have been implemented that verify this.
2020-04-26 15:59:12 +01:00
..
2019-12-16 21:25:20 -05:00
2020-04-25 11:24:54 -05:00
2020-03-12 14:07:34 +00:00
2019-12-26 16:06:53 +01:00
2020-04-06 19:55:54 +10:00
2019-12-16 21:25:20 -05:00
2020-01-23 10:15:02 -08:00
2020-03-06 18:11:07 -03:00
2020-04-01 22:14:51 -03:00
2020-04-21 14:43:04 +09:00
2020-01-23 10:15:02 -08:00
2020-01-23 10:15:02 -08:00
2019-12-16 21:25:20 -05:00
2020-03-02 13:07:34 +00:00
2020-01-23 10:15:02 -08:00