You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2024/01/31 16:40:00 UTC

[jira] [Resolved] (SPARK-46930) Add support for a custom prefix for Union type fields in Avro when enableStableIdentifiersForUnionType is enabled

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

Dongjoon Hyun resolved SPARK-46930.
-----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 44964
[https://github.com/apache/spark/pull/44964]

> Add support for a custom prefix for Union type fields in Avro when enableStableIdentifiersForUnionType is enabled 
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-46930
>                 URL: https://issues.apache.org/jira/browse/SPARK-46930
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Ivan Sadikov
>            Assignee: Ivan Sadikov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> {{enableStableIdentifiersForUnionType}} allows to enable stable identifiers in Avro. We need to add another config to allow configuring the custom prefix used in stable identifiers. Currently the value is {{{}member_{}}}, e.g. member_int, member_string, but we should be able to change to any value or even leave empty.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org