Robert Metzger created FLINK-28232: -------------------------------------- Summary: Allow for custom pre-flight checks for SQL UDFs Key: FLINK-28232 URL: https://issues.apache.org/jira/browse/FLINK-28232 Project: Flink Issue Type: New Feature Components: Table SQL / API Reporter: Robert Metzger
Currently, implementors of SQL UDFs [1] can not validate the UDF input before submitting a SQL query to the runtime. Take for example a UDF that computes a regex based on user input. Ideally there's a callback for the UDF implementor to check if the user-provided regex is valid and compiles, to avoid errors during the execution of the SQL query. It would be ideal to get access to the schema information resolved by the SQL planner in that pre-flight validation to also allow for schema related checks pre-flight. [1] https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/functions/udfs/ -- This message was sent by Atlassian Jira (v8.20.7#820007)