[ https://issues.apache.org/jira/browse/CALCITE-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055343#comment-17055343 ]
Julian Hyde commented on CALCITE-1861: -------------------------------------- {quote}How to integrate it in Calcite? {quote} Do you mean how do we enable spatial rules when people make a vanilla connection to Calcite via JDBC? We don't necessarily want that. Let's do it for this branch, and revisit before we merge to master. Modify {{RelOptRules.registerDefaultRules}} and register the spatial rules and I think you will get the desired effect. Add a section to the end of {{spatial.iq}} to test rewrites, and use the {{!plan}} command to check that they have worked. (If that section grows too large, break out a new file {{spatial_index.iq}}.) > Spatial Indexes > --------------- > > Key: CALCITE-1861 > URL: https://issues.apache.org/jira/browse/CALCITE-1861 > Project: Calcite > Issue Type: Improvement > Components: spatial > Reporter: Atri Sharma > Priority: Major > > Many Calcite users, like Phoenix and Flink can benefit from support of > Spatial indexes. > See: > http://revenant.ca/www/postgis/workshop/indexing.html -- This message was sent by Atlassian Jira (v8.3.4#803005)