From f3d1ffa2952bb10188ff4ab4841200c2a4c0f33c Mon Sep 17 00:00:00 2001 From: cpwu Date: Fri, 10 Jun 2022 18:13:22 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/leastsquares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-test/2-query/leastsquares.py b/tests/system-test/2-query/leastsquares.py index ecdbecb526..79c7d24410 100644 --- a/tests/system-test/2-query/leastsquares.py +++ b/tests/system-test/2-query/leastsquares.py @@ -167,7 +167,7 @@ class TDTestCase: where_claus = self.__where_condition(query_conditon=select_claus) having_claus = self.__group_condition(col=select_claus, having=f"{select_claus} is not null") for arg in self.start_step_val: - if not isinstance(arg,int) or isinstance(arg, bool): + if not isinstance(arg,int) or isinstance(arg, bool) or BOOL_COL in select_claus or BINARY_COL in select_claus or NCHAR_COL in select_claus or TS_COL in select_claus: err_sqls.extend( ( self.__single_sql(select_clause=select_claus, from_clause=tb, start_val=arg), -- GitLab