diff --git a/src/frontend/src/handler/create_sql_function.rs b/src/frontend/src/handler/create_sql_function.rs index 8fc9717f7b37b..f0ab16a4be540 100644 --- a/src/frontend/src/handler/create_sql_function.rs +++ b/src/frontend/src/handler/create_sql_function.rs @@ -123,24 +123,6 @@ fn create_mock_udf_context( ret } -/// Find the pattern for better hint display -/// return the exact index where the pattern first appears -fn find_target(input: &str, target: &str) -> Option { - // Regex pattern to find `target` not preceded or followed by an ASCII letter - // The pattern uses negative lookbehind (?