[ https://issues.apache.org/jira/browse/CALCITE-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated CALCITE-5857: ------------------------------------ Labels: pull-request-available (was: ) > set org.apache.calcite.sql.validateScopeChild to protected or public > --------------------------------------------------------------------- > > Key: CALCITE-5857 > URL: https://issues.apache.org/jira/browse/CALCITE-5857 > Project: Calcite > Issue Type: Improvement > Components: core > Affects Versions: 1.34.0, 1.35.0 > Reporter: TaoJIn > Priority: Major > Labels: pull-request-available > Fix For: 1.36.0 > > > org.apache.calcite.sql.validate.ScopeChild had a package private visibility. > {code:java} > class ScopeChild { > final int ordinal; > final String name; > final SqlValidatorNamespace namespace; > final boolean nullable; > ... > } > {code} > But it appear on a public interface > org.apache.calcite.sql.validate.SqlValidatorScope.This make SqlValidatorScope > could not be impelemnted or extend . > {code:java} > public interface SqlValidatorScope { > ... > Map<String, ScopeChild> findQualifyingTableNames(String columnName, > SqlNode ctx, SqlNameMatcher nameMatcher); > ... > } > {code} > So it's possible to make the class public or protected, and the > SqlValidatorScope could be used. -- This message was sent by Atlassian Jira (v8.20.10#820010)