Ask a prepared source one question
probe_sourceQueues one bounded probe of a source start_source_inspection prepared, and returns its coordinates. It reads the SOURCE, before anything is built; the sample_rows tool reads a published table instead. Four kinds: source_inspect (the columns and their inferred types; no cell values), sample_rows (up to limit rows from offset, optionally only some columns), profile_columns (per column: inferred type, non-null and null counts, distinct count, minimum and maximum) and evaluate_expression (one aggregate over the source). Pass the dataset_id, question_id and source_id start_source_inspection returned. scan_rows (default 10000, at most 50000) bounds how many rows a profile or an expression reads. expression is {"aggregate": "count"} or {"aggregate": "sum"|"min"|"max"|"avg", "column": "…"}, with an optional "where": {"op": "eq"|"ne"|"lt"|"le"|"gt"|"ge", "column", "value"}, {"op": "is_null"|"is_not_null", "column"}, {"op": "and"|"or", "operands": [up to 16]} or {"op": "not", "operand"}, nested at most 8 deep. Example: {"dataset_id": "…", "question_id": "…", "source_id": "…", "kind": "sample_rows", "limit": 20}. Returns {session_id, probe_id, source_id, state}. Next: get_source_probe with session_id and probe_id. It reads the source, never registers or builds anything, and opens a short session that is closed when the probe settles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| limit | No | ||
| offset | No | ||
| columns | No | ||
| scan_rows | No | ||
| source_id | Yes | ||
| dataset_id | Yes | ||
| expression | No | ||
| question_id | Yes |