diff --git a/src/TableFunctions/TableFunctionExecutable.cpp b/src/TableFunctions/TableFunctionExecutable.cpp index 209446dc9dd..9fa5ddf15c2 100644 --- a/src/TableFunctions/TableFunctionExecutable.cpp +++ b/src/TableFunctions/TableFunctionExecutable.cpp @@ -71,12 +71,9 @@ std::vector TableFunctionExecutable::skipAnalysisForArguments(const Quer const auto & table_function_node_arguments = table_function_node.getArguments().getNodes(); size_t table_function_node_arguments_size = table_function_node_arguments.size(); - if (table_function_node_arguments_size <= 3) - return {}; - std::vector result_indexes; - result_indexes.reserve(table_function_node_arguments_size - 3); - for (size_t i = 3; i < table_function_node_arguments_size; ++i) + result_indexes.reserve(table_function_node_arguments_size - 2); + for (size_t i = 2; i < table_function_node_arguments_size; ++i) result_indexes.push_back(i); return result_indexes; diff --git a/tests/analyzer_integration_broken_tests.txt b/tests/analyzer_integration_broken_tests.txt index 62864fc06c4..796ca6bca22 100644 --- a/tests/analyzer_integration_broken_tests.txt +++ b/tests/analyzer_integration_broken_tests.txt @@ -1,7 +1,6 @@ test_build_sets_from_multiple_threads/test.py::test_set test_concurrent_backups_s3/test.py::test_concurrent_backups 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_select_table_name_from_merge_over_distributed test_passing_max_partitions_to_read_remotely/test.py::test_default_database_on_cluster