[
https://issues.apache.org/jira/browse/FLINK-37924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033570#comment-18033570
]
Jinkun Liu commented on FLINK-37924:
------------------------------------
Hi Xuannan Su,
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)