soda-core icon indicating copy to clipboard operation
soda-core copied to clipboard

Athena Connector - use session token

Open andrea-lascola opened this issue 1 year ago • 1 comments

I am not able to actually use AWS_SESSION_TOKEN when leveraging an Athena connector. From here: https://github.com/sodadata/soda-core/blob/main/soda/athena/soda/data_sources/athena_data_source.py It seems that session token is used in the constructor but not when actually creating the connection, this lead to an error while connecting:

Traceback (most recent call last): ... botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException) when calling the StartQueryExecution operation: The security token included in the request is invalid.

andrea-lascola avatar Dec 20 '24 14:12 andrea-lascola

CLOUD-9060

tools-soda avatar Dec 20 '24 14:12 tools-soda