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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

monaraya

OLE DB or ODBC error while connecting to Amazon Athena from Power BI Desktop using ODBC connector

Issue: Connecting to Amazon Athena from Power BI Desktop using ODBC connector

Error: OLE DB or ODBC error:[DataSource.Error] ODBC: ERROR [HY000] [Simba][Athena] (1040)

monaraya_0-1614263982446.png

Troubleshooting:

  • From Power BI Desktop we use ODBC connector to connect to Amazon Athena datasource but to connect to Amazon Athena we have to install the driver related to it.
  • Once the driver is installed, we have to recheck the advance options

monaraya_1-1614263982452.png

  • Click on the configure and click on advance options
    monaraya_2-1614263982457.png
  • Uncheck the use Resultset Streaming box(By default it is checked)

monaraya_3-1614263982459.png

  • Once we click on Ok, we will be able to connect from Power BI Desktop

 

Author: Nithya Mallapu

Reviewer: Mounika Narayana Reddy

Comments

I had exactly the same isuue.  We applied the same palliative solution.  Any solution that solves this issue without lost of execution time. Francisco gomes   fr01.g.silva@gmail.com

Anonymous

Hi,

I faced a test error while adding the Athena ODBC driver to my windows ODBC DS administrator.

"FAILED!

[Simba][Athena] (1040) An error has been thrown from the AWS Athena client. Athena Error No: 14, Error Message: Invalid DNS Label found in URI host [Execution ID: ]"

This error is very annoying and I'm unable to find the root cause of this error anywhere. Please help if anyone knows how to resolve this problem.
In 'advanced options' I already lock/unlock the 'Use Resultset Streaming' option, but it doesn't work.

Mohit_Gauniyal_0-1666963682947.png

 

Yo tambien tengo el mismo problema y no se como resolverlo