cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I know how much of a query/job used Photon?

User16783854657
New Contributor III

I'm trying to use the native execution engine, Photon. How can I tell if a query is using Photon or is falling back to the non-native Spark engine?

4 REPLIES 4

sajith_appukutt
Honored Contributor II

If you are using Photon on Databricks SQL

  1. Click the Query History icon on the sidebar.
  2. Click the line containing the query you’d like to analyze.
  3. On the Query Details pop-up, click Execution Details.
  4. Look at the Task Time in Photon metric at the bottom.

venkat09
New Contributor III
  • Tasks covered by yellow shade on DAG differentiate the operators are executed within photon engine
  • Also, if you clean the plan of your task, it explains well in detail what the operations run in the photon engine and what cannot be executed within it.

Can you explain what's "clean the plan of your task"? Thanks.

venkat09
New Contributor III

Typo error in my second point of the previous post. Click the execution plan of your task[this is available under SQL/Dataframe tab in Spark UI]. It explains what operations run in the photon engine and what didn't execute by photon.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.