ClickHouse/tests/queries
Azat Khuzhin 82e7e7d9cb Fix constant folding for expressions depends from subqueries result
Do not use subquery result, when value is unknown, for constant folding.

v2: fix simple subqueries, fixes 00597_push_down_predicate.
v3:
- use identity over introducing yet another cast analog (as suggested by @akuzm)
- simpler suitable_for_const_folding check
v4: use identity(cast()) since only cast() can provide corrent type (for
data types that does not have it's own type, i.e. DateTime)
v5: do not optimize consts if only_analyze isset, regardless the block
content
2021-01-21 21:26:50 +03:00
..
0_stateless Fix constant folding for expressions depends from subqueries result 2021-01-21 21:26:50 +03:00
1_stateful Add stateful test 2021-01-15 00:33:54 +03:00
bugs
__init__.py
.gitignore
conftest.py
query_test.py
server.py
shell_config.sh
skip_list.json Avoid mixing output from parallel test runs. 2021-01-20 08:31:41 +03:00