FrankChen021 commented on issue #17891:
URL: https://github.com/apache/druid/issues/17891#issuecomment-2788112564

   @clintropolis thanks for the reply.
   
   I tried to set `sqlUseBoundAndSelectors` yesterday but it does not help in 
this case. When it's set the `false`(true is the default), the query plans 
shows that the `in` operator in SQL is turned out to be a series `equals` 
filter. The following code should be the cause the optimization of a serieis 
equal filter is skipped because in this case, the match value type is LONG
   
   
![Image](https://github.com/user-attachments/assets/b115b547-80cc-4646-b247-23237fe77ffd)
   
   I will try to set `druid.sql.planner.metadataColumnTypeMergePolicy` to the 
`latestInterval`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to