HeartSaVioR commented on code in PR #37248:
URL: https://github.com/apache/spark/pull/37248#discussion_r927321253
##########
sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala:
##########
@@ -2053,8 +2054,8 @@ class DataFrameSuite extends QueryTest
val df = Dataset.ofRows(spark, statsPlan)
val logicalRDD = LogicalRDD(
- df.logicalPlan.output, spark.sparkContext.emptyRDD,
Some(df.queryExecution.analyzed),
- isStreaming = true)(spark)
+ df.logicalPlan.output, spark.sparkContext.emptyRDD[InternalRow],
isStreaming = true)(
+ spark, Some(df.queryExecution.optimizedPlan.stats), None)
Review Comment:
Unfortunately we can't, as OutputListAwareStatsTestPlan and
OutputListAwareConstraintsTestPlan do not have corresponding physical plan.
(output partitioning is picked up from physical plan, as same as we do in
Dataset.checkpoint)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]