From 4ba3ebef38d2036da97a1e5a69b9e090e2226f90 Mon Sep 17 00:00:00 2001 From: tmaeno Date: Tue, 10 Sep 2024 11:10:42 +0200 Subject: [PATCH] to resolve correctly secondary dataset names with types --- PandaPkgInfo.py | 2 +- pandaserver/taskbuffer/WrappedCursor.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PandaPkgInfo.py b/PandaPkgInfo.py index 61df37bcc..9c197fd46 100644 --- a/PandaPkgInfo.py +++ b/PandaPkgInfo.py @@ -1 +1 @@ -release_version = "0.3.20" +release_version = "0.3.21" diff --git a/pandaserver/taskbuffer/WrappedCursor.py b/pandaserver/taskbuffer/WrappedCursor.py index 7a6246621..cdd3a102c 100644 --- a/pandaserver/taskbuffer/WrappedCursor.py +++ b/pandaserver/taskbuffer/WrappedCursor.py @@ -48,6 +48,8 @@ def convert_query_in_printf_format(sql, var_dict, sql_conv_map): sql = re.sub(r"NVL\(", r"COALESCE(", sql, flags=re.IGNORECASE) # random sql = re.sub(r"DBMS_RANDOM.value", r"RANDOM()", sql, flags=re.IGNORECASE) + # MINUS + sql = re.sub(r" MINUS ", r" EXCEPT ", sql, flags=re.IGNORECASE) # GENERATE_SERIES sql = re.sub( r"\(SELECT\s+level\s+FROM\s+dual\s+CONNECT\s+BY\s+level\s*<=\s*(:[^ \)]+)\)*",