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

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

> Create easy API in Python to construct Variants
> -----------------------------------------------
>
>                 Key: SPARK-50284
>                 URL: https://issues.apache.org/jira/browse/SPARK-50284
>             Project: Spark
>          Issue Type: Task
>          Components: PySpark
>    Affects Versions: 4.0.0
>            Reporter: Harsh Motwani
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, `VariantVal`'s cannot be created in Python. The `VariantVal` type 
> can only be used to read Variants from existing DataFrames. In order to 
> create Variants, one can only hard-code byte values of Variants (like 
> `VariantVal(bytes([12, i]), bytes([1, 0, 0]))`) which is not useful at all. 
> There should be some easy way for Python developers to create variants from 
> JSON strings/potentially other ways, for example a `parse_json` API 
> implementation in Python.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to