Search code examples
boto3prepared-statementamazon-timestream

Prepared statements in timestream


I would like to execute a prepared statement to query my Timestream database.

I've looked through the documentation and found prepare_query, however, it's very unclear to me what this actually does. It seems that all it can do is verify that the input is a correctly formatted prepared statement.

Then there is the query method, which only accepts a QueryString parameter. There is nowhere to supply parameters or reference a stored prepared statement.

Are prepared statements supported by the Timestream API? If so, how do I use them?


Solution

  • Timestream doesn't support prepared statements. You would need to implement in your client code (but won't help query performance).