[ https://issues.apache.org/jira/browse/CALCITE-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860000#comment-15860000 ]
Jess Balint commented on CALCITE-1625: -------------------------------------- It is certainly related. I can push up the patch I have which copies basic stats from {{DatabaseMetaData.getIndexInfo()}} to the already present {{Statistic}} structure. The scope of CALCITE-1545 is not clear. We should clarify the scope of CALCITE-1545 to build a representation of foreign keys (or maybe generalized dependencies) and retrieve that via {{DatabaseMetaData.getImportedKeys()}}. Possibly two separate tasks. > add basic JDBC statistics > ------------------------- > > Key: CALCITE-1625 > URL: https://issues.apache.org/jira/browse/CALCITE-1625 > Project: Calcite > Issue Type: Improvement > Components: core > Reporter: Jess Balint > Assignee: Julian Hyde > Priority: Minor > > basic JDBC statistics can be retrieved via > {{DatabaseMetaData.getIndexInfo()}}. This can be used in the underlying > {{JdbcTable}} to provide stats/key info during planning. -- This message was sent by Atlassian JIRA (v6.3.15#6346)