Picking the best index for a table scan

2017-06-22 Thread Michael Alexeev
Hi All, Let say I have a table with multiple indexes defined. Is there a way to force Calcite to generate multiple relational expressions for a given SQL where each expression would use a table scan with a different suitable index to select the best one available based on the query's filters,

[VOTE] Release apache-calcite-1.13.0 (release candidate 0)

2017-06-22 Thread Jesus Camacho Rodriguez
Hi all, I have created a build for Apache Calcite 1.13.0, release candidate 0. Thanks to everyone who has contributed to this release. This release comes three months after 1.12.0. It includes more than 75 resolved issues, comprising a large number of new features as well as general improvements

Re: Question regarding "select * from" behavior with RelRecordType(PEEK_FIELDS, ...)

2017-06-22 Thread Shuyi Chen
Can someone help take a look at this JIRA ( https://issues.apache.org/jira/browse/CALCITE-1856) and PR ( https://github.com/apache/calcite/pull/479)? Thanks a lot. On Mon, Jun 19, 2017 at 6:01 PM,