MCPcopy Create free account
hub / github.com/ClickHouse/agent-skills / check_basic_query

Function check_basic_query

skills/chdb-sql/scripts/verify_install.py:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def check_basic_query():
34 import chdb
35 result = chdb.query("SELECT 1 + 1 AS answer")
36 data = result.data()
37 if "2" not in data:
38 raise RuntimeError(f"Expected '2' in output, got: {data!r}")
39
40
41def check_dataframe_output():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected