[ https://issues.apache.org/jira/browse/FLINK-37913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timo Walther updated FLINK-37913: --------------------------------- Component/s: Table SQL / API Table SQL / Planner > Implement OBJECT_OF Function for Structured Type Value Construction > -------------------------------------------------------------------- > > Key: FLINK-37913 > URL: https://issues.apache.org/jira/browse/FLINK-37913 > Project: Flink > Issue Type: Sub-task > Components: Table SQL / API, Table SQL / Planner > Reporter: Ramin Gharib > Assignee: Ramin Gharib > Priority: Major > Labels: pull-request-available > Fix For: 2.2.0 > > > As per > [FLIP-520|https://cwiki.apache.org/confluence/display/FLINK/FLIP-520%3A+Simplify+StructuredType+handling], > this task involves the implementation of the {{OBJECT_OF}} function. This > function is a crucial part of the new structured type handling and is > responsible for constructing an instance of a structured type from a list of > its fields. > *Acceptance Criteria:* > * The {{OBJECT_OF}} function should accept a variable number of arguments, > where the arguments correspond to the fields of the specified structured type. > * The function must return a new instance of the structured type with its > fields populated from the provided arguments. > * Proper type validation should be in place to ensure that the provided > arguments match the types of the fields in the structured type definition. > * The implementation should be efficient and well-documented. > * Unit tests covering various structured types and edge cases must be > included. -- This message was sent by Atlassian Jira (v8.20.10#820010)