DynamoDB query by Global Secondary Index issue #2623
blackhurstjoshua
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know I'm missing something... but I'm trying to query my table using a Global Secondary Index.
Inside my function I have this:
Error message:
It's looking for the primary partition key. But I don't want to provide it for the type of query I want to perform.
I'm trying to query a table that I have set up with flight data. The Partition Key for the table is an ID field. I have TailNum set as a Global Secondary Index on the table.
When I use the console:

I get good results :)
Let me know if I've encountered a bug or if I'm making a mistake (more likely).
Beta Was this translation helpful? Give feedback.
All reactions