Skip to content

Commit 472d172

Browse files
committed
remove pandas and polars-eager
1 parent 0fa3b8d commit 472d172

File tree

5 files changed

+4
-40
lines changed

5 files changed

+4
-40
lines changed

tpch/execute/q12.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,10 @@
44
from . import line_item
55
from . import orders
66

7-
tool = "pandas"
8-
fn = IO_FUNCS[tool]
9-
print(q12.query(fn(line_item), fn(orders)))
10-
117
tool = "pandas[pyarrow]"
128
fn = IO_FUNCS[tool]
139
print(q12.query(fn(line_item), fn(orders)))
1410

15-
tool = "polars[eager]"
16-
fn = IO_FUNCS[tool]
17-
print(q12.query(fn(line_item), fn(orders)))
18-
1911
tool = "polars[lazy]"
2012
fn = IO_FUNCS[tool]
2113
print(q12.query(fn(line_item), fn(orders)).collect())

tpch/execute/q13.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,10 @@
44
from . import customer
55
from . import orders
66

7-
tool = "pandas"
8-
fn = IO_FUNCS[tool]
9-
print(q13.query(fn(customer), fn(orders)))
10-
117
tool = "pandas[pyarrow]"
128
fn = IO_FUNCS[tool]
139
print(q13.query(fn(customer), fn(orders)))
1410

15-
tool = "polars[eager]"
16-
fn = IO_FUNCS[tool]
17-
print(q13.query(fn(customer), fn(orders)))
18-
1911
tool = "polars[lazy]"
2012
fn = IO_FUNCS[tool]
2113
print(q13.query(fn(customer), fn(orders)).collect())

tpch/execute/q14.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,10 @@
44
from . import line_item
55
from . import part
66

7-
tool = "pandas"
8-
fn = IO_FUNCS[tool]
9-
print(q14.query(fn(line_item), fn(part)))
10-
117
tool = "pandas[pyarrow]"
128
fn = IO_FUNCS[tool]
139
print(q14.query(fn(line_item), fn(part)))
1410

15-
tool = "polars[eager]"
16-
fn = IO_FUNCS[tool]
17-
print(q14.query(fn(line_item), fn(part)))
18-
1911
tool = "polars[lazy]"
2012
fn = IO_FUNCS[tool]
2113
print(q14.query(fn(line_item), fn(part)).collect())

tpch/execute/q16.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,10 @@
55
from . import partsupp
66
from . import supplier
77

8-
tool = "pandas"
9-
fn = IO_FUNCS[tool]
10-
print(q16.query(fn(part), fn(partsupp), fn(supplier)))
11-
128
tool = "pandas[pyarrow]"
139
fn = IO_FUNCS[tool]
1410
print(q16.query(fn(part), fn(partsupp), fn(supplier)))
1511

16-
tool = "polars[eager]"
17-
fn = IO_FUNCS[tool]
18-
print(q16.query(fn(part), fn(partsupp), fn(supplier)))
19-
2012
tool = "polars[lazy]"
2113
fn = IO_FUNCS[tool]
2214
print(q16.query(fn(part), fn(partsupp), fn(supplier)).collect())

tpch/execute/q22.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@
44
from . import customer
55
from . import orders
66

7-
fn = IO_FUNCS["pandas"]
7+
tool = "pandas[pyarrow]"
8+
fn = IO_FUNCS[tool]
89
print(q22.query(fn(customer), fn(orders)))
910

10-
fn = IO_FUNCS["pandas[pyarrow]"]
11-
print(q22.query(fn(customer), fn(orders)))
12-
13-
fn = IO_FUNCS["polars[eager]"]
14-
print(q22.query(fn(customer), fn(orders)))
15-
16-
fn = IO_FUNCS["polars[lazy]"]
11+
tool = "polars[lazy]"
12+
fn = IO_FUNCS[tool]
1713
print(q22.query(fn(customer), fn(orders)).collect())

0 commit comments

Comments
 (0)