From c2eede13df0600328daeacf235557f1a6a5a7844 Mon Sep 17 00:00:00 2001 From: tomchon Date: Tue, 21 Dec 2021 16:29:31 +0800 Subject: [PATCH] [TD-12389]:add testcase about compare the length of the tag between super table and child table --- tests/pytest/tag_lite/json_tag_extra.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/pytest/tag_lite/json_tag_extra.py b/tests/pytest/tag_lite/json_tag_extra.py index c1ddbbb1a0..1f2f6b0426 100644 --- a/tests/pytest/tag_lite/json_tag_extra.py +++ b/tests/pytest/tag_lite/json_tag_extra.py @@ -627,6 +627,14 @@ class TDTestCase: tdSql.query(" select stddev(dataint) from jsons8 group by datatime;") tdSql.error(" select stddev(datatime) from jsons8 group by datadouble;") + # # verify the tag length of the super table and the child table + # TD-12389 + # tdSql.query("describe jsons1;") + # jtagLengthSup=tdSql.queryResult[3][2] + # tdSql.query("describe jsons1_1;") + # tdSql.checkData(3, 2, jtagLengthSup) + + # #test import and export # tdSql.execute("select * from jsons1 >> jsons1_data.csv;") # tdSql.query("select * from jsons1 ") -- GitLab