MINOR: Fix multiline insert query stored procedure lineage (#15578)

This commit is contained in:
Mayur Singal 2024-03-15 12:40:59 +05:30 committed by GitHub
parent dfbc9deb9c
commit ed41f25f18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,7 @@ class StoredProcedureMixin(ABC):
return True
if query_type == "INSERT" and re.search(
"^.*insert.*into.*select.*$", query_text, re.IGNORECASE
"^.*insert.*into.*select.*$", query_text.replace("\n", " "), re.IGNORECASE
):
return True