zhiqiang-hhhh opened a new issue, #28540: URL: https://github.com/apache/doris/issues/28540
### 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 master ### What's Wrong? doris: ```sql mysql [demo]>select * from test_varchar; -------------- select * from test_varchar -------------- +--------+ | c1 | +--------+ | +06-00 | +--------+ 1 row in set (0.18 sec) mysql [demo]>select * from test_date; -------------- select * from test_date -------------- +------------+ | c2 | +------------+ | 1990-11-11 | +------------+ 1 row in set (0.14 sec) mysql [demo]>select c1, c1 from test_varchar join test_date on test_varchar.c1!=test_date.c2; -------------- select c1, c1 from test_varchar join test_date on test_varchar.c1!=test_date.c2 -------------- Empty set (0.22 sec) mysql [demo]>select c1 from test_varchar join test_date on test_varchar.c1!=test_date.c2; -------------- select c1 from test_varchar join test_date on test_varchar.c1!=test_date.c2 -------------- Empty set (0.21 sec) ``` result is wrong, compare with mysql: ```sql select version(); | version() | |:----------| | 8.0.30 | create table test_varchar(`c1` varchar(255)); insert into test_varchar values ('+06-00'); create table test_date(`c2` DATE); insert into test_date values('1990-11-11'); select * from test_varchar; | c1 | |:---| | +06-00 | select * from test_date; | c2 | |:---| | 1990-11-11 | select test_varchar.c1 from test_varchar join test_date on test_varchar.c1!=test_date.c2; | c1 | |:---| | +06-00 | [fiddle](https://dbfiddle.uk/4H_d1LQb) ``` ### What You Expected? result should not be empty ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] 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: [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]
