Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
JohnCYY238
Regular Visitor

DataSource.Error: ODBC: ERROR [HY000] [Simba][Athena] (1040) An error has been thrown from the AWS

Hi all,

 

I am using the Power BI AWS Athena Connector with Simba Athena ODBC driver to import data in Power BI Desktop. 

 

At this stage, I have connected to the data source with the following message:

 

SUCCESS!

Successfully connected to data source!

ODBC Version: 03.80

Driver Version: 1.1.20.1003

Bitness: 64-bit

Locale: en_AU

 

However, when I viewed one of the tables within AwsDataCatalog, I get an following error message:

 

DataSource.Error: ODBC: ERROR [HY000] [Simba][Athena] (1040) An error has been thrown from the AWS Athena client. Error Message: HIVE_UNSUPPORTED_FORMAT: Unable to create input format

 

Then when I clicked on another file ending with ‘_csv’, I can see the list of data field names but with no data.

 

Our IT consultant is trying to work out whether it is permissions within the policy configuration that is needed, or is it on my side that some configuration is required.

 

Appreciate for any assistance.

2 REPLIES 2
Divyesh_Khunt
New Member

Divyesh_Khunt_0-1723624706610.png

You will need to add this policy in your athena for the access key that you have received while logging in the ODBC ...... replace the arn with your arn

below is the code you can copy

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"athena:StartQueryExecution",
"athena:GetQueryExecution",
"athena:GetQueryResults"
],
"Resource": "*"
}
]
}

Anonymous
Not applicable

Hi @JohnCYY238,

According to the error message, this issue seems more related to athena, you can try following options if helps:

1. The credentials are vailed and have permissions to access Athena.

2. The query syntax is correct.

3. The query is too complex and can be executed within the timeout limit.

4. Check the network connection status if it is stable enough and not dropping packets.

5. Check if the query if it hit any resource , concurrency, data size, query execution limits.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.