提交 b96b4358 编写于 作者: wmmhello's avatar wmmhello

[TD-14342]<fix> fix error if nchar condition in subquery like "select * from...

[TD-14342]<fix> fix error if nchar condition in subquery like "select * from (select * from table) where nchar = '0'"
上级 bb641cf2
...@@ -619,8 +619,11 @@ class TDTestCase: ...@@ -619,8 +619,11 @@ class TDTestCase:
sql += "%s )" % random.choice(t_join_where) sql += "%s )" % random.choice(t_join_where)
datacheck = self.stable_join_checkall_0(sql) datacheck = self.stable_join_checkall_0(sql)
tdSql.checkRows(100) tdSql.checkRows(100)
datacheck = self.stable_join_checkall_100(sql) datacheck = self.stable_join_checkall_100(sql)
# for TD-14342
sql = "select * from ( select * from stable_1 ) where t_nchar like 'nchar%' or t_nchar = '0'"
datacheck = self.stable1_checkall_0(sql)
endTime = time.time() endTime = time.time()
print("total time %ds" % (endTime - startTime)) print("total time %ds" % (endTime - startTime))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册