This is an automated email from the ASF dual-hosted git repository. changchen pushed a commit to branch feature/41 in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
commit d7d2c807ca76569107fbb37a72bb47e580951b8a Author: Chang chen <[email protected]> AuthorDate: Wed Dec 31 11:43:45 2025 +0800 [Fix] Add printOutputColumns parameter to generateTreeString methods see https://github.com/apache/spark/pull/50852 --- .../scala/org/apache/gluten/execution/GenerateTreeStringShim.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shims/spark41/src/main/scala/org/apache/gluten/execution/GenerateTreeStringShim.scala b/shims/spark41/src/main/scala/org/apache/gluten/execution/GenerateTreeStringShim.scala index 7628b210f1..3d329a8f31 100644 --- a/shims/spark41/src/main/scala/org/apache/gluten/execution/GenerateTreeStringShim.scala +++ b/shims/spark41/src/main/scala/org/apache/gluten/execution/GenerateTreeStringShim.scala @@ -42,6 +42,7 @@ trait WholeStageTransformerGenerateTreeStringShim extends UnaryExecNode { addSuffix: Boolean = false, maxFields: Int, printNodeId: Boolean, + printOutputColumns: Boolean, indent: Int = 0): Unit = { val prefix = if (printNodeId) "^ " else s"^($stageId) " child.generateTreeString( @@ -53,7 +54,8 @@ trait WholeStageTransformerGenerateTreeStringShim extends UnaryExecNode { addSuffix = false, maxFields, printNodeId = printNodeId, - indent) + printOutputColumns = printOutputColumns, + indent = indent) if (verbose && wholeStageTransformerContextDefined) { append(prefix + "Substrait plan:\n") @@ -74,6 +76,7 @@ trait InputAdapterGenerateTreeStringShim extends UnaryExecNode { addSuffix: Boolean = false, maxFields: Int, printNodeId: Boolean, + printOutputColumns: Boolean, indent: Int = 0): Unit = { child.generateTreeString( depth, @@ -84,6 +87,7 @@ trait InputAdapterGenerateTreeStringShim extends UnaryExecNode { addSuffix = false, maxFields, printNodeId, + printOutputColumns, indent) } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
