MCPcopy
hub / github.com/marimo-team/marimo / test_ibis_engine_execute

Function test_ibis_engine_execute

tests/_sql/test_ibis.py:691–699  ·  view source on GitHub ↗

Test Ibis execute.

(ibis_backend: SQLBackend)

Source from the content-addressed store, hash-verified

689 reason="Ibis and either pandas or polars not installed",
690)
691def test_ibis_engine_execute(ibis_backend: SQLBackend) -> None:
692 """Test Ibis execute."""
693 import pandas as pd
694 import polars as pl
695
696 engine = IbisEngine(ibis_backend, engine_name=VariableName("my_ibis"))
697 result = engine.execute("SELECT * FROM test ORDER BY id")
698 assert isinstance(result, (pd.DataFrame, pl.DataFrame))
699 assert len(result) == 3
700
701
702@pytest.mark.skipif(

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
IbisEngineClass · 0.90
VariableNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…