Hi Vladimir, That solves the problem; I will submit the fix.
Thanks, Jesús On 3/4/15, 4:54 PM, "Vladimir Sitnikov" <[email protected]> wrote: >It looks like org.apache.calcite.rel.core.Project#getMapping(int, >java.util.List<? extends org.apache.calcite.rex.RexNode>) is a bit too >strong assumption. > >Can you please try altering >Mappings.create(MappingType.INVERSE_SURJECTION to >Mappings.create(MappingType.INVERSE_FUNCTION there? > >Vladimir
