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

Vladimir Sitnikov commented on CALCITE-1321:
--------------------------------------------

I wonder if this transformation should be expressed as a planner rule, not a 
SqlToRelConverter property.

> In-list to join optimization should have configurable in-list size 
> -------------------------------------------------------------------
>
>                 Key: CALCITE-1321
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1321
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Gautam Kumar Parai
>            Assignee: Gautam Kumar Parai
>
> We current have a default in-list size of 20. Instead of the magic number 20, 
> we should make this configurable.
> {code}
> select count(*) from table where col in 
> (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
> {code}



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

Reply via email to