Re: Druid Adapter - Error Prone checking result
On Tue, Apr 24, 2018 at 1:33 PM, Kevin Risden <krisden@xxxxxxxxxx> wrote:
> No JIRA yet. Will create one for this.
> Kevin Risden
> On Tue, Apr 24, 2018, 09:31 Jesus Camacho Rodriguez <jcamacho@xxxxxxxxxx>
>> Hi Kevin,
>> Thanks for the feedback. Is there a JIRA for this case? It seems it is a
>> bug indeed.
>> On 4/19/18, 8:06 PM, "Kevin Risden" <krisden@xxxxxxxxxx> wrote:
>> I was looking into Error Prone  checking for Calcite and it found
>> looks like a bug in Druid Adapter. The output is as follows
>> DruidJsonFilter.java:[324,9] [IdentityBinaryExpression] A binary
>> > where both operands are the same is usually incorrect; the value of
>> > expression is equivalent to `lhs.getType().getFamily() ==
>> > SqlTypeFamily.NUMERIC`.
>> > [ERROR] (see
>> > http://errorprone.info/bugpattern/IdentityBinaryExpression)
>> The DruidJsonFilter  has left and right hand the exact same.
>> awareness here before going to JIRA.
>>  http://errorprone.info/
>> Kevin Risden