[
https://issues.apache.org/jira/browse/CALCITE-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16661019#comment-16661019
]
Laurent Goujon commented on CALCITE-2629:
-----------------------------------------
It looks like several tests in
SqlAdvisorTest/SqlValidatorTest/SqlToRelConverterTest/SqlToRelConverterExtendedTest
were exercising this code path, and are still present after 0938c7b6d7. Looks
like the logic was refactored in DelegatingScope
> Unnecessary call to CatalogReader#getAllSchemaObjects in CatalogScope
> ---------------------------------------------------------------------
>
> Key: CALCITE-2629
> URL: https://issues.apache.org/jira/browse/CALCITE-2629
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Laurent Goujon
> Assignee: Laurent Goujon
> Priority: Minor
>
> CatalogScope constructor does a call to CatalogReader#getAllSchemaObjects and
> store its result into a private field which has no accessor. This call is
> actually expensive in our system, and is causing some performance issue
> during planning
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)