MCPcopy Index your code
hub / github.com/rilldata/rill / Query

Method Query

runtime/drivers/olap.go:42–42  ·  view source on GitHub ↗

Query executes a query against the OLAP driver and returns an iterator for the resulting rows and schema. The result MUST be closed after use.

(ctx context.Context, stmt *Statement)

Source from the content-addressed store, hash-verified

40 // Query executes a query against the OLAP driver and returns an iterator for the resulting rows and schema.
41 // The result MUST be closed after use.
42 Query(ctx context.Context, stmt *Statement) (*Result, error)
43 // Head executes a query with a limit of N and returns the resulting rows and schema.
44 // It is separate from Query to allow drivers like BigQuery to optimize table previews and not incur huge costs of running a full query with limit.
45 // The result MUST be closed after use.

Callers 15

QueryMethod · 0.95
GetAuthURLMethod · 0.65
authHandlerMethod · 0.65
authCallbackHandlerMethod · 0.65
logoutHandlerMethod · 0.65
traceHandlerMethod · 0.65
TestRuntimeDeploymentsFunction · 0.65
TestPrimaryBranchChangeFunction · 0.65
ResolveMethod · 0.65
ResolveMethod · 0.65
ResolveMethod · 0.65
ResolveMethod · 0.65

Implementers 12

Connectionruntime/drivers/bigquery/bigquery.go
connectionruntime/drivers/druid/druid.go
Connectionruntime/drivers/athena/athena.go
Connectionruntime/drivers/redshift/redshift.go
connectionruntime/drivers/postgres/postgres.go
connectionruntime/drivers/mysql/mysql.go
connectionruntime/drivers/starrocks/starrocks.go
Connectionruntime/drivers/clickhouse/clickhouse.
connectionruntime/drivers/databricks/databricks.
connectionruntime/drivers/duckdb/duckdb.go
connectionruntime/drivers/pinot/pinot.go
connectionruntime/drivers/snowflake/snowflake.go

Calls

no outgoing calls

Tested by 15

TestRuntimeDeploymentsFunction · 0.52
TestPrimaryBranchChangeFunction · 0.52
TestOLAPFunction · 0.52
TestEmptyRowsFunction · 0.52
TestScanFunction · 0.52
fetchExpectedTablesFunction · 0.52
Ignore_TestDriver_typesFunction · 0.52
Ignore_TestDriver_errorFunction · 0.52
TestScanFunction · 0.52