Ruifeng Zheng created SPARK-61533:
-------------------------------------

             Summary: Fast-path exact primitive literals in the Spark Connect 
Rust Python client
                 Key: SPARK-61533
                 URL: https://issues.apache.org/jira/browse/SPARK-61533
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: connect-rust-4.3.0
            Reporter: Ruifeng Zheng


Fast-path exact built-in bool, float, str, bytes and bytearray literals in the 
spark-connect-rust Python client. These values can be converted directly 
without Enum, NumPy, Decimal or datetime probes, while subclasses and other 
scalar types retain the generic conversion path. Python 3.13 release-mode 
microbenchmarks show 78-87% lower F.lit construction time for the targeted 
values.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to