From 30114709ef53c2fe72f6cba3fe489072d9e2add0 Mon Sep 17 00:00:00 2001 From: Jack Eadie Date: Tue, 24 Sep 2024 08:02:12 +1000 Subject: [PATCH] Update README.md With relative file paths for file connector, don't need templating in spice pod. --- acceleration/indexes/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acceleration/indexes/README.md b/acceleration/indexes/README.md index a4d2ea3..6e84d01 100644 --- a/acceleration/indexes/README.md +++ b/acceleration/indexes/README.md @@ -6,6 +6,7 @@ Indexes can be created on accelerated datasets (for supported engines) to improv ```bash spice init acceleration-indexes +cd acceleration-indexes ``` **Step 2.** Download the large test dataset locally @@ -18,11 +19,11 @@ wget https://public-data.spiceai.org/large_eth_traces.parquet **Step 3.** Add the spicepod with indexes configured -Add the following to your `spicepod.yaml`. Be sure to replace `path/to/large_eth_traces.parquet` with the absolute path to the downloaded dataset. +Add the following to your `spicepod.yaml`. ```yaml datasets: - - from: file://path/to/large_eth_traces.parquet + - from: file:/large_eth_traces.parquet name: traces acceleration: enabled: true @@ -30,7 +31,7 @@ datasets: mode: file indexes: trace_id: enabled - - from: file://path/to/large_eth_traces.parquet + - from: file:/large_eth_traces.parquet name: traces_no_index acceleration: enabled: true @@ -43,7 +44,6 @@ datasets: Spice will start and load the dataset into sqlite. **This may take several minutes.** ```bash -cd acceleration-indexes spice run ```