imporved build driver, basic support for count()

This commit is contained in:
2022-09-19 17:22:46 +08:00
parent 613941ce06
commit 2614d010da
9 changed files with 102 additions and 44 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, count(*), avg(len)
FROM network
ASSUMING ASC src, ASC dst, ASC _time
GROUP BY src, dst, sums (deltas(_time) > 120)