Testing function definitions for the Babel SQL parser

2022-09-28 Thread James Scicluna
Dear Apache Calcite Team, I’m planning to add several function definitions for Spark and Hive in SqlLibraryOperators for the Babel SQL parser to use. To test these, would it be enough to just add unit tests in BabelTest (as opposed to SqlOperatorTest) using checkSqlResult? Thanks, James

Re: Testing function definitions for the Babel SQL parser

2022-09-28 Thread Julian Hyde
Do the functions have non-standard syntax? If so then will probably have to be in Babel. If not they could go into Core (and SqlLibraryOperators). Please log a jira case for your work. They will need to be specified at some point, the earlier the better. The SqlOperatorTests format is a bit bette