[ 
https://issues.apache.org/jira/browse/DRILL-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Nadeau updated DRILL-391:
---------------------------------
    Assignee: Aman Sinha  (was: Jacques Nadeau)

> IN-list predicate with 20 or more elements gives UnsupportedOperationException
> ------------------------------------------------------------------------------
>
>                 Key: DRILL-391
>                 URL: https://issues.apache.org/jira/browse/DRILL-391
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Aman Sinha
>            Assignee: Aman Sinha
>             Fix For: 0.7.0
>
>         Attachments: 
> 0001-DRILL-391-Test-case-for-large-IN-list-actual-fix-wor.patch, 
> 0001-Increase-IN-list-threshold-from-20-to-200-for-system.patch
>
>
> select _MAP['N_REGIONKEY'], _MAP['N_NATIONKEY'] FROM 
> "/tmp/parquet/nation.parquet" where cast(_MAP['N_NATIONKEY'] as int) in (1, 
> 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
> java.lang.UnsupportedOperationException
>       at 
> org.apache.drill.optiq.DrillValuesRel.implement(DrillValuesRel.java:51)
>       at 
> org.apache.drill.optiq.DrillImplementor.visitChild(DrillImplementor.java:143)
>       at 
> org.apache.drill.optiq.DrillAggregateRel.implement(DrillAggregateRel.java:62)
>       at 
> org.apache.drill.optiq.DrillImplementor.visitChild(DrillImplementor.java:143)
>       at 
> org.apache.drill.optiq.DrillJoinRel.implementInput(DrillJoinRel.java:98)
>       at org.apache.drill.optiq.DrillJoinRel.implement(DrillJoinRel.java:75)
>       at 
> org.apache.drill.optiq.DrillImplementor.visitChild(DrillImplementor.java:143)
>       at 
> org.apache.drill.optiq.DrillProjectRel.implement(DrillProjectRel.java:63)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to