Re: Why 'is null' is not evaluable?

2017-05-03 Thread magang
Yang wrote
> Looks like a bug to me.
> 
> On Thu, Apr 27, 2017 at 3:52 PM, magang 

> mg4work@

>  wrote:
> 
>> Hi,
>>
>> When sql contains filter: 'is null'/'is not null', the filter will not be
>> push down to coprocessor, because the CompareTupleFilter.isEvaluable()
>> method return false, is it by design or just a bug?
>>
>> related code is here:
>> https://github.com/apache/kylin/blob/master/core-
>> metadata/src/main/java/org/apache/kylin/metadata/filter/
>> CompareTupleFilter.java#L216
>>
>> --
>> View this message in context: http://apache-kylin.74782.x6.
>> nabble.com/Why-is-null-is-not-evaluable-tp7796.html
>> Sent from the Apache Kylin mailing list archive at Nabble.com.
>>

Thanks Yang! Will log a ticket to track it

--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/Why-is-null-is-not-evaluable-tp7796p7861.html
Sent from the Apache Kylin mailing list archive at Nabble.com.


Re: Why 'is null' is not evaluable?

2017-04-28 Thread Li Yang
Looks like a bug to me.

On Thu, Apr 27, 2017 at 3:52 PM, magang <mg4w...@163.com> wrote:

> Hi,
>
> When sql contains filter: 'is null'/'is not null', the filter will not be
> push down to coprocessor, because the CompareTupleFilter.isEvaluable()
> method return false, is it by design or just a bug?
>
> related code is here:
> https://github.com/apache/kylin/blob/master/core-
> metadata/src/main/java/org/apache/kylin/metadata/filter/
> CompareTupleFilter.java#L216
>
> --
> View this message in context: http://apache-kylin.74782.x6.
> nabble.com/Why-is-null-is-not-evaluable-tp7796.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>


Why 'is null' is not evaluable?

2017-04-27 Thread magang
Hi,

When sql contains filter: 'is null'/'is not null', the filter will not be
push down to coprocessor, because the CompareTupleFilter.isEvaluable()
method return false, is it by design or just a bug?

related code is here:
https://github.com/apache/kylin/blob/master/core-metadata/src/main/java/org/apache/kylin/metadata/filter/CompareTupleFilter.java#L216

--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/Why-is-null-is-not-evaluable-tp7796.html
Sent from the Apache Kylin mailing list archive at Nabble.com.