You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "liwei li (Jira)" <ji...@apache.org> on 2022/06/08 01:06:00 UTC

[jira] [Created] (FLINK-27946) Extending SQL syntax in a way similar to 'spark.sql.extensions'

liwei li created FLINK-27946:
--------------------------------

             Summary: Extending SQL syntax in a way similar to 'spark.sql.extensions'
                 Key: FLINK-27946
                 URL: https://issues.apache.org/jira/browse/FLINK-27946
             Project: Flink
          Issue Type: Improvement
            Reporter: liwei li


Does Flink consider extending SQL syntax in a similar way to 'spark.sql.extensions'? 

This approach provides greater flexibility in adding many new SQL syntax and rules without modifying the source code, especially in the case of custom syntax scenarios.

 

This current provides the following extension points:
 * Analyzer Rules.
 * Check Analysis Rules.
 * Optimizer Rules.
 * Pre CBO Rules.
 * Planning Strategies.
 * Customized Parser.
 * (External) Catalog listeners.
 * Columnar Rules.
 * Adaptive Query Stage Preparation Rules.

 

FYI:

[https://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/SparkSessionExtensions.html]

[https://hudi.apache.org/docs/procedures]

[https://iceberg.apache.org/docs/latest/spark-procedures/]

 



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