I am trying to delete DynamoDB items using the PartiQL editor using the IN clause. A sample query below is erroring with message "ValidationException: IN operator must have a left hand argument of type Variable Reference and right hand argument of type Seq with at least one member".
Anyone tried to delete DynamoDB items using IN clause with partiql. I am trying to cleanup items in the table without wring the SDK code.
Query: DELETE FROM "<TABLE_NAME_HERE>" WHERE <HASH_KEY_HERE> IN (Select <HASH_KEY_HERE> from "<TABLE_NAME_HERE>")
Error: ValidationException: IN operator must have a left hand argument of type Variable Reference and right hand argument of type Seq with at least one member