You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/17 16:27:00 UTC

[jira] [Commented] (DRILL-6413) Specific query returns an exception if filter a boolean column by "equals" operator

    [ https://issues.apache.org/jira/browse/DRILL-6413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479318#comment-16479318 ] 

ASF GitHub Bot commented on DRILL-6413:
---------------------------------------

arina-ielchiieva commented on issue #1269: DRILL-6413: Update ParquetFilterBuilder.visitBooleanOperator to handle simplied boolean expression
URL: https://github.com/apache/drill/pull/1269#issuecomment-389927086
 
 
   @vvysotskyi please review.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Specific query returns an exception if filter a boolean column by "equals" operator
> -----------------------------------------------------------------------------------
>
>                 Key: DRILL-6413
>                 URL: https://issues.apache.org/jira/browse/DRILL-6413
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Anton Gozhiy
>            Assignee: Arina Ielchiieva
>            Priority: Major
>             Fix For: 1.14.0
>
>         Attachments: Test_data.tar.gz
>
>
> *Data:*
>  Use the attached dataset
> *Query:*
> {code:sql}
>  select *
>  from dfs.tmp.`Test_data`
>  where bool_col = true and part_col in ('Partition_two')
> {code}
> *Expected result:*
>  The query should return result normally
> *Actual result:*
>  Exception happens:
> {noformat}
> Error: SYSTEM ERROR: ClassCastException: org.apache.drill.common.expression.TypedFieldExpr cannot be cast to org.apache.drill.exec.expr.stat.ParquetFilterPredicate
> {noformat}
> *Notes:*
>  It works OK if use "is" operator or if not use "*" in the select statement



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)