Re: Result code of whole stage codegen

2016-08-05 Thread Maciej Bryński
Thank you. That was it. Regards, Maciek 2016-08-05 10:06 GMT+02:00 Herman van Hövell tot Westerflier < hvanhov...@databricks.com>: > Do you want to see the code that whole stage codegen produces? > > You can prepend a SQL statement with EXPLAIN CODEGEN ... > > Or you can add the following code t

Re: Result code of whole stage codegen

2016-08-05 Thread Herman van Hövell tot Westerflier
Do you want to see the code that whole stage codegen produces? You can prepend a SQL statement with EXPLAIN CODEGEN ... Or you can add the following code to a DataFrame/Dataset command: import org.apache.spark.sql.execution.debug._ and call the the debugCodegen() command on a Dataframe/Dataset,