Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 11 additions & 22 deletions spiceaidocs/docs/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@ A `spicepod.yaml` file is created in the `spice_qs` directory. Change to that di
cd spice_qs
```

**Step 3.** Connect to the sample Dremio instance to access the sample data:

```bash
spice login dremio -u demo -p demo1234
```

**Step 4.** Start the Spice runtime:
**Step 3.** Start the Spice runtime:

```bash
spice run
Expand All @@ -60,7 +54,7 @@ Using latest 'local' runtime version.

The runtime is now started and ready for queries.

**Step 5.** In a new terminal window, add the `spiceai/quickstart` Spicepod. A Spicepod is a package of configuration defining datasets and ML models.
**Step 4.** In a new terminal window, add the `spiceai/quickstart` Spicepod. A Spicepod is a package of configuration defining datasets and ML models.

```bash
spice add spiceai/quickstart
Expand All @@ -83,7 +77,7 @@ The `spiceai/quickstart` Spicepod will add a `taxi_trips` data table to the runt
2024-02-22T05:53:48.223101Z INFO runtime::dataconnector: Refreshing data for taxi_trips
```

**Step 6.** Start the Spice SQL REPL:
**Step 5.** Start the Spice SQL REPL:

```bash
spice sql
Expand All @@ -101,19 +95,14 @@ sql>
Enter `show tables;` to display the available tables for query:

```
sql> show tables;

+---------------+--------------------+-------------+------------+
| table_catalog | table_schema | table_name | table_type |
+---------------+--------------------+-------------+------------+
| datafusion | public | taxi_trips | BASE TABLE |
| datafusion | information_schema | tables | VIEW |
| datafusion | information_schema | views | VIEW |
| datafusion | information_schema | columns | VIEW |
| datafusion | information_schema | df_settings | VIEW |
+---------------+--------------------+-------------+------------+
sql> show tables
+------------+
| table_name |
+------------+
| taxi_trips |
+------------+

Query took: 0.004728897 seconds
Query took: 0.007505084 seconds. 1/1 rows displayed.
```

Enter a query to display the longest taxi trips:
Expand Down Expand Up @@ -149,4 +138,4 @@ import DocCardList from '@theme/DocCardList';

<DocCardList items={[{type: 'link', label: 'Quickstarts', href: 'https://github.com/spiceai/quickstarts', description: 'Spice.ai Quickstart Tutorials.'},
{type: 'link', label: 'Samples', href: 'https://github.com/spiceai/samples', description: 'Dive deeper with in-depth samples.'},]} />