From 8ef916a1ba29aa45da354140c3845640f7d38845 Mon Sep 17 00:00:00 2001 From: Maksim Kita Date: Mon, 17 May 2021 22:08:06 +0300 Subject: [PATCH] Updated comment message --- tests/queries/0_stateless/00911_tautological_compare.sql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/00911_tautological_compare.sql b/tests/queries/0_stateless/00911_tautological_compare.sql index b477aabc025..a10aff449bb 100644 --- a/tests/queries/0_stateless/00911_tautological_compare.sql +++ b/tests/queries/0_stateless/00911_tautological_compare.sql @@ -1,4 +1,9 @@ --- TODO: Return this test after simplifying InterpreterSelectQuery +-- TODO: Tautological optimization breaks JIT expression compilation, because it can return constant result +-- for non constant columns. And then sample blocks from same ActionsDAGs can be mismatched. +-- This optimization cannot be performed on AST rewrite level, because we does not have information about types +-- and equals(tuple(NULL), tuple(NULL)) have same hash code, but should not be optimized. +-- Return this test after refactoring of InterpreterSelectQuery. + -- SELECT count() FROM system.numbers WHERE number != number; -- SELECT count() FROM system.numbers WHERE number < number; -- SELECT count() FROM system.numbers WHERE number > number;