Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion duckdb/groupby-duckdb.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ print(dbGetQuery(con, "SELECT * FROM ans LIMIT 3"))
print(dbGetQuery(con, "SELECT * FROM ans WHERE ROWID > (SELECT count(*) FROM ans) - 4")) ## tail
invisible(dbExecute(con, "DROP TABLE IF EXISTS ans"))


if (machine_type == 'c6id.4xlarge' && on_disk) {
dbExecute(con, "pragma memory_limit='20G'")
table_type=""
}
question = "largest two v3 by id6" # q8
t = system.time({
dbExecute(con, sprintf("CREATE %s TABLE ans AS SELECT id6, unnest(max(v3, 2)) largest2_v3 FROM x WHERE v3 IS NOT NULL GROUP BY id6", table_type))
Expand Down
14 changes: 14 additions & 0 deletions logs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6350,6 +6350,20 @@ ip-172-31-18-189,1776355151,haskell,1.1.1.0,dataframe-1.1.1.0,join,J1_1e8_NA_5_0
ip-172-31-18-189,1776355151,haskell,1.1.1.0,dataframe-1.1.1.0,join,J1_1e8_NA_5_0,1776359059.47381,finish,27,1,c6id.4xlarge
ip-172-31-18-189,1776355151,haskell,1.1.1.0,dataframe-1.1.1.0,join,J1_1e8_NA_0_1,1776359074.4889,start,,,c6id.4xlarge
ip-172-31-18-189,1776355151,haskell,1.1.1.0,dataframe-1.1.1.0,join,J1_1e8_NA_0_1,1776359084.19497,finish,27,1,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_0_0,1776437499.14007,start,,,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_0_0,1776437499.8757,finish,32,1,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e1_0_0,1776437514.8908,start,,,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e1_0_0,1776437515.62855,finish,32,1,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_2e0_0_0,1776437530.64363,start,,,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_2e0_0_0,1776438368.30411,finish,41,1,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_0_1,1776438383.31921,start,,,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_0_1,1776439493.98539,finish,0,0,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_5_0,1776439509.0005,start,,,c6id.4xlarge
ip-172-31-18-189,1776437498,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_5_0,1776440765.12113,finish,0,0,c6id.4xlarge
ip-172-31-18-189,1776454789,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_0_0,1776454791.25388,start,,,c6id.4xlarge
ip-172-31-18-189,1776454789,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e2_0_0,1776455965.34922,finish,0,0,c6id.4xlarge
ip-172-31-18-189,1776454789,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e1_0_0,1776455980.36433,start,,,c6id.4xlarge
ip-172-31-18-189,1776454789,duckdb,1.5.2,8a5851971fa,groupby,G1_1e9_1e1_0_0,1776457175.84593,finish,0,0,c6id.4xlarge
ip-172-31-18-198,1776376683,clickhouse,26.4.1.1003,,groupby,G1_1e7_1e2_0_0,1776376704.80437,start,,,c6id.metal
ip-172-31-18-198,1776376683,clickhouse,26.4.1.1003,,groupby,G1_1e7_1e2_0_0,1776376854.80408,finish,0,0,c6id.metal
ip-172-31-18-198,1776376683,clickhouse,26.4.1.1003,,groupby,G1_1e7_1e1_0_0,1776376869.81921,start,,,c6id.metal
Expand Down
Loading
Loading