Hi Poepsel, I have read your question,I think you should add ` setParserFactory(SqlBabelParserImpl.FACTORY)` in your parser config. Such as :
SqlParser.*configBuilder*() .setCaseSensitive(false) .setUnquotedCasing(Casing.*UNCHANGED*) .setQuotedCasing(Casing.*UNCHANGED*) .setConformance(SqlConformanceEnum.*BABEL*) *.setParserFactory(SqlBabelParserImpl.FACTORY)* .build(); A better way I suggested is that you could use `SqlParser.*config*().withxxx` to set your options,because `SqlParser.*configBuilder*()` will be Deprecated. Best, LakeShen Poepsel Lemaitre, Rudi <[email protected]> 于2023年9月25日周一 17:43写道: > Hi! > > My name is Rudi Poepsel, and I’m a PhD student at the TU Berlin. I’ve been > using Calcite for I while, and I just encountered a problem that I haven’t > seen before. > You can find a description of my problem on Stackoverflow > https://stackoverflow.com/questions/77170989/casting-operator-not-being-parsed-by-apache-calcite > > I would really appreciate any hint either via email or directly in > Stackoverflow. > > Thank you very much! > > Saludos, > Rudi >
