[ 
https://issues.apache.org/jira/browse/FLINK-37924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033570#comment-18033570
 ] 

Jinkun Liu edited comment on FLINK-37924 at 10/28/25 2:13 PM:
--------------------------------------------------------------

Hi [~sxnan],

I was wondering if you have already started working on this task — I’ve looked 
into some of the related code under this JIRA and found it very interesting.

I think I might be able to help with implementing the feature *“Introduce 
Built-in Function {{VARIANT.at()}} to access a field or element in a Variant.”* 
I’d really appreciate the opportunity to give it a try if possible.

Here’s my current idea:
 * Extend {{org.apache.flink.table.functions.BuiltInFunctionDefinitions#AT}} to 
include logic for the {{VARIANT}} type.

 * In 
{{{}org.apache.flink.table.planner.codegen.ExprCodeGenerator#generateCallExpression{}}},
 make the {{case: ITEM}} support the {{VARIANT}} type and implement the 
corresponding logic.

If I’ve misunderstood anything or made any incorrect assumptions, please feel 
free to point them out — I’d really appreciate your feedback and guidance.

Best regards,
Jinkun


was (Author: JIRAUSER308530):
Hi [~sxnan],

I was wondering if you have already started working on this task — I’ve looked 
into some of the related code under this JIRA and found it very interesting.

I believe I’m capable of implementing the feature *“Introduce Built-in Function 
{{VARIANT.at()}} to access a field or element in a Variant.”* I’d really 
appreciate the opportunity to give it a try if possible.

Here’s my current idea:
 * Extend {{org.apache.flink.table.functions.BuiltInFunctionDefinitions#AT}} to 
include logic for the {{VARIANT}} type.

 * In 
{{{}org.apache.flink.table.planner.codegen.ExprCodeGenerator#generateCallExpression{}}},
 make the {{case: ITEM}} support the {{VARIANT}} type and implement the 
corresponding logic.

If I’ve misunderstood anything or made any incorrect assumptions, please feel 
free to point them out — I’d really appreciate your feedback and guidance.

Best regards,
Jinkun

> Support variant field accessing
> -------------------------------
>
>                 Key: FLINK-37924
>                 URL: https://issues.apache.org/jira/browse/FLINK-37924
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Xuannan Su
>            Assignee: Xuannan Su
>            Priority: Major
>




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

Reply via email to