[
https://issues.apache.org/jira/browse/CALCITE-6574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881120#comment-17881120
]
Julian Hyde commented on CALCITE-6574:
--------------------------------------
I take your point that the {{SqlValidatorScope.getValidator()}} method is
widely used. Suppose validator were a mutable field in scope, and suppose that
we create the scope map (and all scopes) before creating the validator, create
the validator, and then set the validator in the scopes. Would that allow us to
separate the lifecycle without changing a lot of code?
> Add SqlQueryScopes
> ------------------
>
> Key: CALCITE-6574
> URL: https://issues.apache.org/jira/browse/CALCITE-6574
> Project: Calcite
> Issue Type: Sub-task
> Reporter: James Starr
> Assignee: James Starr
> Priority: Major
> Labels: pull-request-available
>
> See parent description.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)