LuciferYang opened a new issue, #13698:
URL: https://github.com/apache/gluten/issues/13698

   `LocalFilesNode.toProtobuf` builds the file schema as a Substrait 
`NamedStruct` once for every file in the split, although all files in a split 
share the same schema. The Velox backend always sets this schema for ORC and 
DWRF scans, and for Parquet when 
`spark.gluten.sql.columnar.backend.velox.parquetUseColumnNames` is off, so 
every task of a small-file scan with a wide schema repeats the type conversion 
per file. For an ORC split of 128 files and 200 columns, `toProtobuf` takes 
about 16.7 ms.
   
   The schema can be built once per split.
   
   This issue was written with the assistance of AI (Claude Opus).
   


-- 
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]

Reply via email to