I believe you need to change
SqlOperatorTable operatorTable = ChainedSqlOperatorTable.of( SqlStdOperatorTable.instance() );
to
SqlOperatorTable operatorTable = SqlOperatorTables.chain(SqlStdOperatorTable.instance());
Additionally, I believe the new approach requires a change from
SqlToRelConverter.Config converterConfig = SqlToRelConverter.configBuilder()
.withTrimUnusedFields(true)
.withExpand(false) // https://issues.apache.org/jira/browse/CALCITE-1045
.build();
to
SqlToRelConverter.Config converterConfig = SqlToRelConverter.config()
.withTrimUnusedFields(true)
.withExpand(false);
I believe you need to change
SqlOperatorTable operatorTable = ChainedSqlOperatorTable.of( SqlStdOperatorTable.instance() );to
SqlOperatorTable operatorTable = SqlOperatorTables.chain(SqlStdOperatorTable.instance());Additionally, I believe the new approach requires a change from
to