seancxmao opened a new pull request #1615: [CALCITE-3547] SqlValidatorException because Planner cannot find UDFs added to schema URL: https://github.com/apache/calcite/pull/1615 `CalciteSqlValidator` inside `PlannerImpl` only looks for UDFs in `SqlStdOperatorTable`. When an UDF is added to schema, it is not available for searching by the validator. This PR aims to let UDFs in schema available to the validator just like what `CalcitePrepareImpl` does. * Add `SqlStdOperatorTable` and `CalciteCatalogReader` to `ChainedSqlOperatorTable`, which then available to `CalciteSqlValidator` * Add a test case in `PlannerTest` (`testValidateUserDefinedFunctionInSchema`)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services