DynamoDb-GUI-Client icon indicating copy to clipboard operation
DynamoDb-GUI-Client copied to clipboard

Error when column is reserved keyword

Open dpinol opened this issue 6 years ago • 4 comments

Describe the bug When a column is a reserver keyword (such as 'time'), I get "Invalid FilterExpression: Attribute name is a reserved keyword; reserved keyword: time"

To Reproduce

  1. Create a table with primary key named time
  2. Select the "time" column condition in records window.
  3. Press SCAN

Expected behavior No error should occur

Desktop (please complete the following information): MacOS 10.14.4

dpinol avatar May 06 '19 09:05 dpinol

I hit the same issue. I haven't looked at the source yet but it's related to using project-expression-names to set the value of the expression to use within the actual projection-expression:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html

michaelwills avatar Jun 06 '19 07:06 michaelwills

This is a really annoying bug. Any solution so far?

bart avatar Aug 03 '19 12:08 bart

How about the possibility to define "aliases" as ExpressionAttributeNames? https://stackoverflow.com/a/36712485

krogon avatar Aug 20 '19 12:08 krogon

Any update on this issue?

DeeGeeMan avatar Oct 21 '19 18:10 DeeGeeMan