Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when column is reserved keyword #31

Open
dpinol opened this issue May 6, 2019 · 4 comments
Open

Error when column is reserved keyword #31

dpinol opened this issue May 6, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@dpinol
Copy link

dpinol commented May 6, 2019

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

@Arattian Arattian added the bug Something isn't working label May 14, 2019
@michaelwills
Copy link

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

@Arattian Arattian self-assigned this Jun 11, 2019
@bart
Copy link

bart commented Aug 3, 2019

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

@krogon
Copy link

krogon commented Aug 20, 2019

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

@DeeGeeMan
Copy link

Any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants