test: finish 1-insert/influxdb_line_taosc_insert.py
This commit is contained in:
parent
0418e6c00f
commit
990abaaab1
|
@ -95,8 +95,12 @@ class TDCom:
|
|||
stb_list = map(lambda x: x[0], res_row_list)
|
||||
for stb in stb_list:
|
||||
if type == "taosc":
|
||||
tdSql.execute(f'drop table if exists `{stb}`')
|
||||
if not stb[0].isdigit():
|
||||
tdSql.execute(f'drop table if exists {stb}')
|
||||
elif type == "restful":
|
||||
self.restApiPost(f"drop table if exists `{stb}`")
|
||||
if not stb[0].isdigit():
|
||||
self.restApiPost(f"drop table if exists {stb}")
|
||||
|
||||
def dateToTs(self, datetime_input):
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue