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

Aitozi updated FLINK-29066:
---------------------------
    Description: 
Currently, it has three types of the runtime property:
1) runtimeclass which means flink provide a class to define the runtime 
implementation
2) runtimeProvider which means the runtime class is code generated 
3) runtimeDefered which means it will use the calcite's inner function to 
handle.

First, the runtimeDefered is only a mark interface, have no actual effect, and 
the JSON_Xx functions already port to the flink internal stack, so I think it 
can be removed now / changed to the runtime provider.

Besides, I found that some functions do not mark the runtime property, which 
also use the (runtimeProvider effect eg: {{and}} ). So I think the property is 
not such accurate here

  was:
Currently, it has three types of the runtime property:
1) runtimeclass which means flink provide a class to define the runtime 
implementation
2) runtimeProvider which means the runtime class is code generated 
3) runtimeDefered which means it will use the calcite's inner function to 
handle.

First, the runtimeDefered is only a mark interface, have no actual effect, and 
the JSON_Xx functions already port to the flink internal stack, so I think it 
can be removed now.


> Reconsider the runtime property of the BuiltInFunctionDefinition
> ----------------------------------------------------------------
>
>                 Key: FLINK-29066
>                 URL: https://issues.apache.org/jira/browse/FLINK-29066
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Aitozi
>            Priority: Major
>
> Currently, it has three types of the runtime property:
> 1) runtimeclass which means flink provide a class to define the runtime 
> implementation
> 2) runtimeProvider which means the runtime class is code generated 
> 3) runtimeDefered which means it will use the calcite's inner function to 
> handle.
> First, the runtimeDefered is only a mark interface, have no actual effect, 
> and the JSON_Xx functions already port to the flink internal stack, so I 
> think it can be removed now / changed to the runtime provider.
> Besides, I found that some functions do not mark the runtime property, which 
> also use the (runtimeProvider effect eg: {{and}} ). So I think the property 
> is not such accurate here



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

Reply via email to