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-05-10 22:02:32 +08:00
2023-12-15 16:17:44 +08:00
2024-09-14 16:27:43 +08:00
2023-06-19 23:44:30 +08:00
2023-05-11 14:44:16 +08:00
2023-11-17 12:02:14 +08:00
2024-03-06 13:06:26 +08:00
2024-08-12 10:01:28 +08:00
2024-05-10 22:02:32 +08:00
2023-12-28 11:39:54 +08:00
2024-09-19 22:01:02 +08:00
2024-08-23 01:46:22 +08:00
2024-05-10 22:02:32 +08:00
2024-08-14 18:36:14 +08:00
2024-05-10 22:02:32 +08:00
2024-07-25 11:38:27 +08:00
2024-08-09 11:35:42 +08:00