panyanye opened a new issue, #37718:
URL: https://github.com/apache/doris/issues/37718

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.1
   
   ### What's Wrong?
   
   In function can not filter null data cause get wrong result.
   
   ### What You Expected?
   
   In function can get right result
   
   ### How to Reproduce?
   
   create table test(
   int_1 int,
   int_2 int,
   char_1 char,
   double_1 double
   )
   DISTRIBUTED BY HASH( int_1 ) BUCKETS  auto
   PROPERTIES (
       "replication_num" = "1" 
   );
   
   insert into test(int_1, char_1, double_1) values (1,'b',2.2);
   insert into test(int_1, int_2, char_1, double_1) values (1, 2, 'a',2.2);
   
   select int_2,double_1 from test where 0 in (int_2,double_1);
   
   this select sql should get empty result, but now it's result as follows:
   
![image](https://github.com/user-attachments/assets/16d052a1-aacf-4e72-819b-a0b283d66823)
   
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to