add case by TD-31726

This commit is contained in:
Leo Xu 2024-09-02 14:50:25 +08:00
parent 4e239a5b76
commit e12298f814
1 changed files with 5 additions and 0 deletions

View File

@ -225,6 +225,11 @@ class TDTestCase(TBase):
sql2 = "select bi from stb where bi is not null order by bi desc limit 10;"
self.checkSameResult(sql1, sql2)
# same as by TD-31726
sql1 = "select fc as a, voltage dc a from meters limit 5;"
sql2 = "select * from (select fc as a, dc as a from meters)t limit 5;"
self.checkSameResult(sql1, sql2)
# distributed expect values
expects = {
"Block_Rows" : 6*100000,