You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xinrong Meng (Jira)" <ji...@apache.org> on 2022/05/12 00:49:00 UTC
[jira] [Updated] (SPARK-39155) Access to JVM through passed-in GatewayClient during type conversion
[ https://issues.apache.org/jira/browse/SPARK-39155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xinrong Meng updated SPARK-39155:
---------------------------------
Description:
Access to JVM through passed-in GatewayClient during type conversion.
In customized type converters, we may utilize `jvm` field of passed-in GatewayClient directly to access JVM, rather than rely on the `SparkContext._jvm`.
That's [how](https://github.com/py4j/py4j/blob/master/py4j-python/src/py4j/java_collections.py#L508) Py4J explicit converters access JVM.
was:Access to JVM through passed-in GatewayClient during type conversion
> Access to JVM through passed-in GatewayClient during type conversion
> --------------------------------------------------------------------
>
> Key: SPARK-39155
> URL: https://issues.apache.org/jira/browse/SPARK-39155
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 3.4.0
> Reporter: Xinrong Meng
> Priority: Major
>
> Access to JVM through passed-in GatewayClient during type conversion.
> In customized type converters, we may utilize `jvm` field of passed-in GatewayClient directly to access JVM, rather than rely on the `SparkContext._jvm`.
> That's [how](https://github.com/py4j/py4j/blob/master/py4j-python/src/py4j/java_collections.py#L508) Py4J explicit converters access JVM.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org