cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group