Skip to content
Draft
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
16 changes: 16 additions & 0 deletions ibis/backends/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,22 @@ def test_in_memory_table(backend, con, arg, lambda_, expected, monkeypatch):
backend.assert_frame_equal(result, expected)


@pytest.mark.parametrize(
"size",
[
100,
1_000,
10_000,
],
)
def test_large_memory_table(con, monkeypatch, size):
monkeypatch.setattr(ibis.options, "default_backend", con)

expr = ibis.memtable({"a": range(size)}).count()
result = con.execute(expr)
assert result == size


def test_filter_memory_table(backend, con, monkeypatch):
monkeypatch.setattr(ibis.options, "default_backend", con)

Expand Down
Loading