Jerry Hu
b8bc9b699c
[fix](scan) Incorrect scan keys lead to wrong query results. (#40814) (#40971)
## Proposed changes
pick #40814
```
mysql [doris_14555]>select * from table_9436528_3;
+------+------+------+------+------------------------+--------------------+------+
| col1 | col2 | col3 | col5 | col4 | col6 | col7 |
+------+------+------+------+------------------------+--------------------+------+
| -100 | 1 | -82 | 1 | 2024-02-16 04:37:37.00 | -1299962421.904282 | NULL |
| -100 | 1 | 92 | 1 | 2024-02-16 04:37:37.00 | 23423423.0324234 | NULL |
| -100 | 0 | -82 | 0 | 2023-11-11 10:49:43.00 | 840968969.872149 | NULL |
```
wrong result:
```
mysql [doris_14555]>select * from table_9436528_3 where col1 <= -100 and col2 in (true, false) and col3 = -82;
+------+------+------+------+------------------------+--------------------+------+
| col1 | col2 | col3 | col5 | col4 | col6 | col7 |
+------+------+------+------+------------------------+--------------------+------+
| -100 | 1 | -82 | 1 | 2024-02-16 04:37:37.00 | -1299962421.904282 | NULL |
| -100 | 1 | 92 | 1 | 2024-02-16 04:37:37.00 | 23423423.0324234 | NULL |
+------+------+------+------+------------------------+--------------------+------+
```
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
2024-09-19 22:01:02 +08:00
..
2024-09-19 22:01:02 +08:00
2024-09-13 13:34:29 +08:00
2023-06-08 19:36:21 +08:00
2024-09-15 23:47:53 +08:00
2024-09-13 13:34:29 +08:00
2024-08-23 18:51:47 +08:00
2024-07-04 10:02:56 +08:00
2024-04-17 23:41:59 +08:00
2024-04-17 23:41:59 +08:00
2024-03-09 19:44:39 +08:00
2024-09-13 13:34:29 +08:00
2024-08-06 14:44:59 +08:00
2024-08-06 14:44:59 +08:00
2024-08-06 14:44:59 +08:00
2024-07-04 15:27:52 +08:00