[ 
https://issues.apache.org/jira/browse/SPARK-60956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-60956:
-----------------------------------
    Labels: pull-request-available  (was: )

> Upload the jars, Python files and archives of addArtifacts in Spark Connect 
> Rust as PySpark does
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-60956
>                 URL: https://issues.apache.org/jira/browse/SPARK-60956
>             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
>
>
> In PySpark Connect, {{SparkSession.addArtifacts(*path, pyfile=False, 
> archive=False, file=False)}} uploads a {{.jar}} to {{jars/}}, and with 
> {{pyfile=True}} a Python file to {{pyfiles/}}, with {{archive=True}} an 
> archive to {{archives/}}, and with {{file=True}} a file to {{files/}}; any 
> other file raises {{UNSUPPORTED_OPERATION}}. The Rust-backed Python client 
> ignores the flags and uploads every path to {{files/}}, so a jar is not added 
> to the classpath, a Python file is not importable by UDFs, an archive is not 
> extracted, and {{addArtifacts("small.txt")}} succeeds. The Rust 
> {{SparkSession::add_artifacts}} uploads every path to {{files/}} too. Upload 
> them as PySpark does.



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