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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sreekuppa
Regular Visitor

What exactly happens when you query a Databse from Power BI?

I am trying to connect to Hive from Power BI using the Hortonworks Hive ODBC Driver. I send a query from Power BI when I connect to the data source in the "Advanced  Options"-> "SQL Statement" box.

 

Next I see a preview after sometime and see the options "Load", "Edit" and "Cancel" in that. When I say "Load", I first see "Evaluating..." and then "Waiting for DSN=<dsn_name>"

 

I want to understand what is happening in the backend during:

1. Preview generation

2. "Evaluating" stage

3. "Waiting for DSN" stage.

 

I looked up in Ambari all the above 3 steps and see a bunch of jobs running but I am not able to undertsand what excatly happening. 

 

Also, my main objective is to reduce the time taken for the data to load. When I query Hive directly from Hive shell, the same query takes about 2 minutes but on Power BI, it takes about 7 minutes. I want to understand the reason for this lag and the different ways to reduce it.

 

Would highly appreciate some pointers. Thanks in advance!

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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