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
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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!