Skip to content

Proposed syntax change #1

Description

@MattCremeens

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions