[Apache Calcite] 允许使用未定义的sql函数

org.apache.calcite.sql.validate.SqlValidator.Config#withLenientOperatorLookup

设置为true

 

 SqlValidator.Config.DEFAULT.withSqlConformance(calciteConnectionConfig.conformance())
                .withTypeCoercionEnabled(true).withLenientOperatorLookup(true);
posted @ 2024-03-20 14:19  平平淡淡以明志  阅读(39)  评论(0编辑  收藏  举报