[ https://issues.apache.org/jira/browse/SPARK-15216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-15216: ------------------------------------ Assignee: Apache Spark > Add a new Dataset API explainCodegen > ------------------------------------ > > Key: SPARK-15216 > URL: https://issues.apache.org/jira/browse/SPARK-15216 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.0.0 > Reporter: Xiao Li > Assignee: Apache Spark > > {noformat} > val ds = Seq("a" -> 1, "a" -> 3, "b" -> 3).toDS().groupByKey(_._1).agg( > expr("avg(_2)").as[Double], > ComplexResultAgg.toColumn) > ds.explainCodegen() > {noformat} > Reading codegen output is important for developers to debug. So far, > outputting codegen results is available in the SQL interface by `EXPLAIN > CODEGEN`. However, in the Dataset/DataFrame APIs, we face the same issue. We > can add a new API for it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org