apache / incubator-gluten

Gluten is a middle layer responsible for offloading JVM-based SQL engines' execution to native engines.
https://gluten.apache.org/
Apache License 2.0
1.22k stars 439 forks source link

[CORE] Distinguish between native scan and vanilla spark scan in plan tree string #7847

Closed zml1206 closed 2 weeks ago

zml1206 commented 3 weeks ago

Description

Currently, the nodeName of navtive scan are the same as vanilla spark scan, making it impossible to distinguish them in planTreeString.

For example, for FileSourceScanExec: update nodeName from "Scan " to "NativeScan " update nodeNamePrefix from "NativeFile" to "File"

zml1206 commented 3 weeks ago

@zhztheplayer Do you think it is necessary to modify?

FelixYBW commented 3 weeks ago

Not a big issue. We may align with other operator name like ScanTransformer