mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Merge pull request #60339 from ClickHouse/fix-analyzer-executable
Fix - analyzer related - "executable" function subquery arguments.
This commit is contained in:
commit
4318cf8253
@ -71,12 +71,9 @@ std::vector<size_t> TableFunctionExecutable::skipAnalysisForArguments(const Quer
|
|||||||
const auto & table_function_node_arguments = table_function_node.getArguments().getNodes();
|
const auto & table_function_node_arguments = table_function_node.getArguments().getNodes();
|
||||||
size_t table_function_node_arguments_size = table_function_node_arguments.size();
|
size_t table_function_node_arguments_size = table_function_node_arguments.size();
|
||||||
|
|
||||||
if (table_function_node_arguments_size <= 3)
|
|
||||||
return {};
|
|
||||||
|
|
||||||
std::vector<size_t> result_indexes;
|
std::vector<size_t> result_indexes;
|
||||||
result_indexes.reserve(table_function_node_arguments_size - 3);
|
result_indexes.reserve(table_function_node_arguments_size - 2);
|
||||||
for (size_t i = 3; i < table_function_node_arguments_size; ++i)
|
for (size_t i = 2; i < table_function_node_arguments_size; ++i)
|
||||||
result_indexes.push_back(i);
|
result_indexes.push_back(i);
|
||||||
|
|
||||||
return result_indexes;
|
return result_indexes;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
test_build_sets_from_multiple_threads/test.py::test_set
|
test_build_sets_from_multiple_threads/test.py::test_set
|
||||||
test_concurrent_backups_s3/test.py::test_concurrent_backups
|
test_concurrent_backups_s3/test.py::test_concurrent_backups
|
||||||
test_distributed_type_object/test.py::test_distributed_type_object
|
test_distributed_type_object/test.py::test_distributed_type_object
|
||||||
test_executable_table_function/test.py::test_executable_function_input_python
|
|
||||||
test_merge_table_over_distributed/test.py::test_global_in
|
test_merge_table_over_distributed/test.py::test_global_in
|
||||||
test_merge_table_over_distributed/test.py::test_select_table_name_from_merge_over_distributed
|
test_merge_table_over_distributed/test.py::test_select_table_name_from_merge_over_distributed
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user