zuston commented on code in PR #1643: URL: https://github.com/apache/auron/pull/1643#discussion_r2570988984
########## spark-extension/src/main/scala/org/apache/spark/sql/execution/auron/plan/NativeFileSourceScanBase.scala: ########## @@ -154,4 +152,38 @@ abstract class NativeFileSourceScanBase(basedFileScan: FileSourceScanExec) } override protected def doCanonicalize(): SparkPlan = basedFileScan.canonicalized + + /** + * Match Spark’s DataSourceScanExec verbose output for consistency. + * @see + * <a + * href="https://github.com/apache/spark/blob/65c3d1cb18c45528d8090ac905d87a8dcd779aa7/sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala#L426-L449">Spark + * DataSourceScanExec</a> + */ + override def verboseStringWithOperatorId(): String = { + val metadataStr = basedFileScan.metadata.toSeq.sorted + .filterNot { Review Comment: Could you directly use the upstream method? If so, it's pretty nice -- 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]
