[ https://issues.apache.org/jira/browse/CALCITE-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654404#comment-16654404 ]
Laurent Goujon commented on CALCITE-2629: ----------------------------------------- let me give it a try. Meanwhile, I posted a PR: https://github.com/apache/calcite/pull/888 > 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)