[
https://issues.apache.org/jira/browse/SPARK-61204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-61204:
-----------------------------------
Labels: pull-request-available (was: )
> Give None for the className of a builtin function without a class in
> Catalog.listFunctions and getFunction, as PySpark does
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61204
> URL: https://issues.apache.org/jira/browse/SPARK-61204
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: connect-rust-4.3.0
> Reporter: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.3.0
>
>
> The server sends a null className for the builtins `!=`, `<>`, `case` and
> `||`. The Rust catalog reads a null string column as "", so the Python
> Function.className is "" where PySpark gives None.
> Repro: `[f.name for f in spark.catalog.listFunctions() if f.className is
> None]` is empty in the drop-in and holds the four names in PySpark 4.3.0.
> The fix makes Function.class_name an optional string through the core and the
> Python NamedTuple.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]