From 56054ebae8dca15898017a2540fc832dda4621a4 Mon Sep 17 00:00:00 2001 From: cpwu Date: Mon, 30 May 2022 15:08:08 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/explain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/system-test/2-query/explain.py b/tests/system-test/2-query/explain.py index 61954f8a38..45465cd71c 100644 --- a/tests/system-test/2-query/explain.py +++ b/tests/system-test/2-query/explain.py @@ -97,6 +97,8 @@ class TDTestCase: query_conditon = query_conditon[4:-1] elif query_conditon.startswith("min"): query_conditon = query_conditon[4:-1] + elif query_conditon.startswith("avg"): + query_conditon = query_conditon[4:-1] if query_conditon: return f" where {query_conditon} is not null"