I am trying to query a DynamoDB table using GraphQL
TableName: "JobInfo",
IndexName: "tableauGSI",
KeyConditionExpression: "tableauGSI_Tableau = tableau AND #D BETWEEN :startDate AND :endDate",
ExpressionAttributeNames: { "#D": "date" },
ExpressionAttributeValues: {
":startDate": startDate,
":endDate": days
},
ReturnConsumedCapacity: "TOTAL"
However, upon executing the query, I encountered this error: "Invalid condition in KeyConditionExpression: Multiple attribute names used in one condition"