huaxingao commented on a change in pull request #29415: URL: https://github.com/apache/spark/pull/29415#discussion_r470072879
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala ########## @@ -143,7 +140,6 @@ case class RowDataSourceScanExec( // Don't care about `rdd` and `tableIdentifier` when canonicalizing. override def doCanonicalize(): SparkPlan = copy( - fullOutput.map(QueryPlan.normalizeExpressions(_, fullOutput)), Review comment: @cloud-fan I added `requiredSchema`, could you please take a look to see if that's what you want? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org