We need to query a large (2TB+) DynamoDB table to get multiple items based on their partition keys.
We are planning to use PartiQL as it supports the IN
operator as such:
SELECT * FROM table_test where pk IN ('1234','1112');
Would this query do DynamoDB query operations or DynamoDB scan operations under the hood?
We would like to avoid table scans due to them being more expensive.