andygrove commented on issue #197:
URL: 
https://github.com/apache/datafusion-spark/issues/197#issuecomment-6898659006

   > [!NOTE]
   > An LLM (Claude Code) wrote this comment. Check the details before you rely 
on them.
   
   Apache DataFusion Comet already has a native, Spark-compatible 
implementation of this, which can be ported here along with its tests. Comet 
source (at `3878424d9`):
   
   - 
[`static_invoke/char_varchar_utils/read_side_padding.rs`](https://github.com/apache/datafusion-comet/blob/3878424d90c23de3c6355a53b293c22822876944/native/spark-expr/src/static_invoke/char_varchar_utils/read_side_padding.rs)
   
   Spark pads CHAR(n) columns on read through a `StaticInvoke` of 
`CharVarcharCodegenUtils.readSidePadding`. Comet implements that and 
`lpad`/`rpad` in the same file.
   
   (This was tracked in #134, now closed as a duplicate.)
   


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