You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "konwu (Jira)" <ji...@apache.org> on 2022/05/23 10:10:00 UTC

[jira] [Created] (FLINK-27743) Support function params when create UDTF in flink sql

konwu created FLINK-27743:
-----------------------------

             Summary: Support function params when create UDTF in flink sql
                 Key: FLINK-27743
                 URL: https://issues.apache.org/jira/browse/FLINK-27743
             Project: Flink
          Issue Type: New Feature
          Components: Table SQL / API
            Reporter: konwu


In our sql sence we have data samples like below:

a|b|\{"name":"jark","age":"23"}|c

If we want to extra the inner json with Type info we have to 

declare the type info in functions and can not reuse for others

 

May be we should we do create function like this:
CREATE FUNCTION fromJson AS 'test.function.JsonTableFunc' with ('key' = 'value')
and get type info from some key 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)