mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Merge pull request #59983 from ClickHouse/analyzer-fix-test_shard_level_const_function
Analyzer: Fix test_shard_level_const_function
This commit is contained in:
commit
feb8020448
@ -5667,7 +5667,7 @@ ProjectionNames QueryAnalyzer::resolveFunction(QueryTreeNodePtr & node, Identifi
|
|||||||
|
|
||||||
/// Do not constant fold get scalar functions
|
/// Do not constant fold get scalar functions
|
||||||
bool disable_constant_folding = function_name == "__getScalar" || function_name == "shardNum" ||
|
bool disable_constant_folding = function_name == "__getScalar" || function_name == "shardNum" ||
|
||||||
function_name == "shardCount" || function_name == "hostName";
|
function_name == "shardCount" || function_name == "hostName" || function_name == "tcpPort";
|
||||||
|
|
||||||
/** If function is suitable for constant folding try to convert it to constant.
|
/** If function is suitable for constant folding try to convert it to constant.
|
||||||
* Example: SELECT plus(1, 1);
|
* Example: SELECT plus(1, 1);
|
||||||
|
@ -10,7 +10,6 @@ test_mutations_with_merge_tree/test.py::test_mutations_with_merge_background_tas
|
|||||||
test_passing_max_partitions_to_read_remotely/test.py::test_default_database_on_cluster
|
test_passing_max_partitions_to_read_remotely/test.py::test_default_database_on_cluster
|
||||||
test_select_access_rights/test_main.py::test_alias_columns
|
test_select_access_rights/test_main.py::test_alias_columns
|
||||||
test_settings_profile/test.py::test_show_profiles
|
test_settings_profile/test.py::test_show_profiles
|
||||||
test_shard_level_const_function/test.py::test_remote
|
|
||||||
test_sql_user_defined_functions_on_cluster/test.py::test_sql_user_defined_functions_on_cluster
|
test_sql_user_defined_functions_on_cluster/test.py::test_sql_user_defined_functions_on_cluster
|
||||||
test_storage_rabbitmq/test.py::test_rabbitmq_materialized_view
|
test_storage_rabbitmq/test.py::test_rabbitmq_materialized_view
|
||||||
test_wrong_db_or_table_name/test.py::test_wrong_table_name
|
test_wrong_db_or_table_name/test.py::test_wrong_table_name
|
||||||
|
Loading…
Reference in New Issue
Block a user