Update query1970YearsAf.py
This commit is contained in:
parent
74b5b241ca
commit
5f27c38a0b
|
@ -87,11 +87,7 @@ class TDTestCase:
|
||||||
"disorder_ratio": 0,
|
"disorder_ratio": 0,
|
||||||
"disorder_range": 1000,
|
"disorder_range": 1000,
|
||||||
"timestamp_step": 20000,
|
"timestamp_step": 20000,
|
||||||
<<<<<<< HEAD
|
|
||||||
"start_timestamp": "1969-12-31 00:00:00.000",
|
"start_timestamp": "1969-12-31 00:00:00.000",
|
||||||
=======
|
|
||||||
"start_timestamp": "1969-12-30 23:59:40.000",
|
|
||||||
>>>>>>> 53a128b2a3a469b06ae28ff013397b8d015433c8
|
|
||||||
"sample_format": "csv",
|
"sample_format": "csv",
|
||||||
"sample_file": "./sample.csv",
|
"sample_file": "./sample.csv",
|
||||||
"tags_file": "",
|
"tags_file": "",
|
||||||
|
@ -176,11 +172,7 @@ class TDTestCase:
|
||||||
)
|
)
|
||||||
tdSql.checkRows(3590)
|
tdSql.checkRows(3590)
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
# child-tables query
|
# child-tables query
|
||||||
=======
|
|
||||||
# child-table query
|
|
||||||
>>>>>>> 53a128b2a3a469b06ae28ff013397b8d015433c8
|
|
||||||
tdSql.query(
|
tdSql.query(
|
||||||
"select * from t0 where t0.ts < '1970-01-01 00:00:00.000' "
|
"select * from t0 where t0.ts < '1970-01-01 00:00:00.000' "
|
||||||
)
|
)
|
||||||
|
@ -251,19 +243,12 @@ class TDTestCase:
|
||||||
tdLog.info("==========step3: query join again")
|
tdLog.info("==========step3: query join again")
|
||||||
self.sqlsquery()
|
self.sqlsquery()
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
# delete temporary file
|
# delete temporary file
|
||||||
rm_cmd = f"rm -f /tmp/insert* > /dev/null 2>&1"
|
rm_cmd = f"rm -f /tmp/insert* > /dev/null 2>&1"
|
||||||
_ = subprocess.check_output(rm_cmd, shell=True).decode("utf-8")
|
_ = subprocess.check_output(rm_cmd, shell=True).decode("utf-8")
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
tdSql.close()
|
tdSql.close()
|
||||||
=======
|
|
||||||
def stop(self):
|
|
||||||
tdSql.close()
|
|
||||||
rm_cmd = f"rm -f /tmp/insert* > /dev/null 2>&1"
|
|
||||||
_ = subprocess.check_output(rm_cmd, shell=True).decode("utf-8")
|
|
||||||
>>>>>>> 53a128b2a3a469b06ae28ff013397b8d015433c8
|
|
||||||
tdLog.success(f"{__file__} successfully executed")
|
tdLog.success(f"{__file__} successfully executed")
|
||||||
|
|
||||||
tdCases.addLinux(__file__, TDTestCase())
|
tdCases.addLinux(__file__, TDTestCase())
|
||||||
|
|
Loading…
Reference in New Issue