osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with extending SqlAbstractConformance


Hi, I am trying to build the parser config using the Configbuilder class

SqlParser.configBuilder()
.setUnquotedCasing(Casing.UNCHANGED)
.setConformance(SqlConformanceEnum.DEFAULT)
.build();

But this throws an error during compile rime

[*ERROR*] *  symbol:   method
setConformance(org.apache.calcite.sql.validate.SqlConformanceEnum)*

This is in Calcite 1.15.0.

I wanted to extend SqlSbatractConformance class to override some settings
for Presto. What is the right way to override the conformance or how can I
prevent this compilation error?

Thanks,
Devjyoti