fix: add binary and nchar length to 50 and 100
This commit is contained in:
parent
6498dc94a1
commit
68dc56aec9
|
@ -50,8 +50,8 @@
|
||||||
{ "type": "usmallint", "name": "usi"},
|
{ "type": "usmallint", "name": "usi"},
|
||||||
{ "type": "uint", "name": "ui" },
|
{ "type": "uint", "name": "ui" },
|
||||||
{ "type": "ubigint", "name": "ubi"},
|
{ "type": "ubigint", "name": "ubi"},
|
||||||
{ "type": "binary", "name": "bin", "len": 32},
|
{ "type": "binary", "name": "bin", "len": 50},
|
||||||
{ "type": "nchar", "name": "nch", "len": 64}
|
{ "type": "nchar", "name": "nch", "len": 100}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{"type": "tinyint", "name": "groupid","max": 10,"min": 1},
|
{"type": "tinyint", "name": "groupid","max": 10,"min": 1},
|
||||||
|
|
|
@ -172,7 +172,7 @@ class TDTestCase(TBase):
|
||||||
if compact is not None:
|
if compact is not None:
|
||||||
kw3 = f"s3_compact {compact}"
|
kw3 = f"s3_compact {compact}"
|
||||||
|
|
||||||
sql = f" create database db1 duration 1h {kw1} {kw2} {kw3}"
|
sql = f" create database db1 vgroups 1 duration 1h {kw1} {kw2} {kw3}"
|
||||||
tdSql.execute(sql, show=True)
|
tdSql.execute(sql, show=True)
|
||||||
#sql = f"select name,s3_keeplocal,s3_chunksize,s3_compact from information_schema.ins_databases where name='db1';"
|
#sql = f"select name,s3_keeplocal,s3_chunksize,s3_compact from information_schema.ins_databases where name='db1';"
|
||||||
sql = f"select * from information_schema.ins_databases where name='db1';"
|
sql = f"select * from information_schema.ins_databases where name='db1';"
|
||||||
|
@ -327,8 +327,6 @@ class TDTestCase(TBase):
|
||||||
# check insert correct again
|
# check insert correct again
|
||||||
self.checkInsertCorrect()
|
self.checkInsertCorrect()
|
||||||
|
|
||||||
# checkBasic
|
|
||||||
self.checkBasic()
|
|
||||||
|
|
||||||
# check stream correct and drop stream
|
# check stream correct and drop stream
|
||||||
#self.checkStreamCorrect()
|
#self.checkStreamCorrect()
|
||||||
|
@ -338,6 +336,10 @@ class TDTestCase(TBase):
|
||||||
|
|
||||||
# insert history disorder data
|
# insert history disorder data
|
||||||
self.insertHistory()
|
self.insertHistory()
|
||||||
|
|
||||||
|
# checkBasic
|
||||||
|
self.checkBasic()
|
||||||
|
|
||||||
#self.checkInsertCorrect()
|
#self.checkInsertCorrect()
|
||||||
self.snapshotAgg()
|
self.snapshotAgg()
|
||||||
self.doAction()
|
self.doAction()
|
||||||
|
|
|
@ -50,8 +50,8 @@
|
||||||
{ "type": "usmallint", "name": "usi"},
|
{ "type": "usmallint", "name": "usi"},
|
||||||
{ "type": "uint", "name": "ui" },
|
{ "type": "uint", "name": "ui" },
|
||||||
{ "type": "ubigint", "name": "ubi"},
|
{ "type": "ubigint", "name": "ubi"},
|
||||||
{ "type": "binary", "name": "bin", "len": 32},
|
{ "type": "binary", "name": "bin", "len": 50},
|
||||||
{ "type": "nchar", "name": "nch", "len": 64}
|
{ "type": "nchar", "name": "nch", "len": 100}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{"type": "tinyint", "name": "groupid","max": 10,"min": 1},
|
{"type": "tinyint", "name": "groupid","max": 10,"min": 1},
|
||||||
|
|
Loading…
Reference in New Issue