bug fixes

This commit is contained in:
2022-09-18 20:55:43 +08:00
parent 3dfecaebb1
commit 613941ce06
10 changed files with 70 additions and 28 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ LOAD DATA INFILE "data/network.csv"
INTO TABLE network
FIELDS TERMINATED BY ","
SELECT src, dst, avg(len)
SELECT src, dst, avg(len)
FROM network
ASSUMING ASC src, ASC dst, ASC _time
GROUP BY src, dst, sums (deltas(_time) > 120)
+1 -1
View File
@@ -6,4 +6,4 @@ FIELDS TERMINATED BY ","
select names, val * 10000 + id from types_test
create table date_time(id int, _date date, _time time, _timestamp timestamp);
create table date_time(id int, _date date, _time time, _timestamp timestamp);