Re: copy method in RelSubset class

2018-02-16 Thread Julian Hyde
t;>> https://github.com/asolimando/calcite/tree/SPARK-TESTS) I have stumbled >>> upon the issue several times. >>> >>> This is the list of the tests that in my opinion should be succeeding but >>> are failing because of an invocation of *copy* method for *

Re: copy method in RelSubset class

2018-02-16 Thread Alessandro Solimando
ral times. > > > > This is the list of the tests that in my opinion should be succeeding but > > are failing because of an invocation of *copy* method for *RelSubset* > class: > > - testFilterBetween > > - testFilterIsIn > > - testFilterTrue > > - testFilterFal

[jira] [Created] (CALCITE-2183) invocation of copy method in RelSubset class

2018-02-16 Thread Alessandro Solimando (JIRA)
Alessandro Solimando created CALCITE-2183: - Summary: invocation of copy method in RelSubset class Key: CALCITE-2183 URL: https://issues.apache.org/jira/browse/CALCITE-2183 Project: Calcite

Re: copy method in RelSubset class

2018-02-15 Thread Julian Hyde
n my opinion should be succeeding but > are failing because of an invocation of *copy* method for *RelSubset* class: > - testFilterBetween > - testFilterIsIn > - testFilterTrue > - testFilterFalse > - testFilterOr > - testFilterIsNotNull > - testFilterIsNull > &

Re: copy method in RelSubset class

2018-02-14 Thread Alessandro Solimando
e original RelSubset. >> >> > On Feb 11, 2018, at 1:18 PM, Alessandro Solimando < >> alessandro.solima...@gmail.com> wrote: >> > >> > Hello community, >> > >> > I am adding a SparkAdapter test with the following query: >> >

Re: copy method in RelSubset class

2018-02-12 Thread Alessandro Solimando
(2, 'b'), (3, 'b'), (4, 'c'), (2, 'c')) as t(x, > y)* > >> where x between 3 and 4 > >> > >> When executed, an exception is thrown (the full stack trace is at the > end > > of the email) in *copy* method in *RelSubset* class, while Calcite is > > trying to get r

Re: copy method in RelSubset class

2018-02-11 Thread Julian Hyde
'c')) as t(x, y)* >> where x between 3 and 4 >> >> When executed, an exception is thrown (the full stack trace is at the end > of the email) in *copy* method in *RelSubset* class, while Calcite is > trying to get rid of unused terms (specifically, *trimUnusedFields* metho

copy method in RelSubset class

2018-02-11 Thread Alessandro Solimando
email) in *copy* method in *RelSubset* class, while Calcite is trying to get rid of unused terms (specifically, *trimUnusedFields* method from *SqlToRelConverted* class). The signature of copy is as follows: public RelNode copy(RelTraitSet traitSet, List inputs) First of all, I don't unders