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! Request now

Reply
Anonymous
Not applicable

How do I view native query with Impala connection?

I am connecting into our Impala Server am pulling in one table. The only step I added was "remove other columns". Why am I not able to see the SQL code behind the scene here? This does not happen when I run the same steps on say MS SQL Server, but with Impala it's grayed out. What are the next steps I need to take to get this native query working with Impala connection? I love using Power Query and viewing the SQL code behind it.

 

Two questions for you all:

 

  1. How do I get this "View Native Query" to work so that I can see the SQL code when connected to Impala...?
  2. If I am not able to view the SQL code behind Impala because it only works with MS SQL, is there another Power Query like tool out there on the market that allows for non-programmers to develop SQL code (I.e. GUI of some sort...)? Goal is to develop SQL queries without coding....

Thanks!!

 

tbuckingham_0-1648850859800.png

 

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

In Power BI Desktop when you invoke PQ - Go to Tools - Start Diagnostics - Refresh preview your query - Stop Diagnostics - Now, few logs will be generated which are simple to read. One of the column name is Data Source Query. That column will show you if SQL statement is being executed. If SQL statement is not executed, then the statement will not be shown against that step. 

View solution in original post

4 REPLIES 4
Vijay_A_Verma
Super User
Super User

Right click on that cell - Drill down and now you will have complete display of that cell which you can copy. 

Anonymous
Not applicable

Perfect! That worked.

Vijay_A_Verma
Super User
Super User

In Power BI Desktop when you invoke PQ - Go to Tools - Start Diagnostics - Refresh preview your query - Stop Diagnostics - Now, few logs will be generated which are simple to read. One of the column name is Data Source Query. That column will show you if SQL statement is being executed. If SQL statement is not executed, then the statement will not be shown against that step. 

Anonymous
Not applicable

Thanks this was new info for me... However when I did that I am not able to see the full SQL query. It cuts off with just "..." at the end. FYI below.... I need to be able to read the full SQL query being run so I can hand it off to developers to generate VIEW tables in SQL for us...

tbuckingham_0-1649041893541.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors