ClickHouse/tests/queries/0_stateless/02568_and_consistency.reference
Salvatore Mesoraca d7f4bc4c72
ActionsDAG: remove wrong optimization
Replacing AND with a casto to UInt8 can change the condition.
e.g.
0x100 cast to UInt8 is 0, but it should be 1.
0.1 cast to UInt8 is 0, but it should be 1.

Basically we can't cast anything to UInt8 so we completely remove
this optimization.

Closes #47317
2023-03-15 17:16:57 +01:00

6 lines
28 B
Plaintext