Skip to content

Commit 6a61b50

Browse files
docs: add local spidapter direct-query example (#159)
1 parent ec5052e commit 6a61b50

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,25 @@ spicebench \
322322
--scrape-sut-metrics
323323
```
324324

325+
#### Direct-query with local `spidapter` backend (stdio)
326+
327+
```bash
328+
spicebench \
329+
--query-set tpch \
330+
--spicepod-path ./spicepod.yaml \
331+
--system-adapter-name spidapter \
332+
--system-adapter-execution-mode direct-query \
333+
--system-adapter-stdio-cmd spidapter \
334+
--system-adapter-stdio-args "stdio" \
335+
--system-adapter-env SPIDAPTER_BACKEND=local \
336+
--scrape-sut-metrics
337+
```
338+
339+
Notes:
340+
341+
- `SPIDAPTER_BACKEND=local` keeps the same `setup()` ADBC response shape.
342+
- Current local backend starts one scheduler and one executor.
343+
325344
#### Databricks adapter example (local stdio binary)
326345

327346
Build the adapter:

0 commit comments

Comments
 (0)