Running any query on Athena fails with the error message "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x86 in position 2: invalid start byte " when workgroup encryption is turned ON using CSE_KMS
wr.athena.read_sql_query('select count(1) as num_records from mytable', database, workgroup)
We don't support client-side decryption when reading from Athena. I think your workgroup is forcing Athena to return encrypted data, so it doesn't matter that you didn't set the encryption parameter.
Describe the bug
Running any query on Athena fails with the error message "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x86 in position 2: invalid start byte " when workgroup encryption is turned ON using CSE_KMS
wr.athena.read_sql_query('select count(1) as num_records from mytable', database, workgroup)
Error stack trace:
How to Reproduce
Expected behavior
No response
Your project
No response
Screenshots
No response
OS
Linux
Python version
3.10.14
AWS SDK for pandas version
3.9.0
Additional context
No response