[
https://issues.apache.org/jira/browse/CALCITE-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruben Q L updated CALCITE-5857:
-------------------------------
Fix Version/s: (was: 1.34.0)
(was: 1.35.0)
> 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
> 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)