[
https://issues.apache.org/jira/browse/FLINK-41349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramin Gharib reassigned FLINK-41349:
------------------------------------
Assignee: Ramin Gharib
> Document building and editing VARIANT values in Java
> ----------------------------------------------------
>
> Key: FLINK-41349
> URL: https://issues.apache.org/jira/browse/FLINK-41349
> Project: Flink
> Issue Type: Sub-task
> Components: API / Core, Documentation
> Reporter: Ramin Gharib
> Assignee: Ramin Gharib
> Priority: Major
>
> Adds a guide for UDF and DataStream code that builds or edits a VARIANT with
> the API from FLINK-41338.
> Scope:
> * How a builder works: handles, recorded edits, one write in build(), and a
> source value that never changes.
> * Building a new value with Variant.newBuilder() and Variant.of.
> * The error table, and how the Java methods differ from the SQL functions: no
> TRY_ forms, an add creates a missing place, and build() returns the whole
> value.
> * A migration table off the deprecated VariantBuilder#of, ofNull, object and
> array.
> * Variant#normalize(): why the metadata keeps removed names, and when to call
> it.
> Depends on FLINK-41338. The normalize part depends on FLINK-41343.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)