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 *
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
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
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
>
&
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:
>> >
(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
'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
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