soda-core
soda-core copied to clipboard
Athena Connector - use session token
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.
CLOUD-9060