Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update REPL output to be consistent with the latest Spice version #215

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion spiceaidocs/docs/cli/reference/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spice sql [flags]
### Examples
```shell
$ spice sql
Welcome to the interactive Spice.ai SQL Query Utility! Type 'help' for help.
Welcome to the Spice.ai SQL REPL! Type 'help' for help.

show tables; -- list available tables
sql> show tables
Expand Down
4 changes: 2 additions & 2 deletions spiceaidocs/docs/federated-queries/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ GROUP BY passenger_count;
| 15.394881909237105 | 1 |
+---------------------------------+-----------------+

Query took: 3.345525166 seconds. 7/7 rows displayed.
Time: 3.345525166 seconds. 7 rows.
```

**Step 9.** Join tables across locally accelerated sources and query
Expand Down Expand Up @@ -165,7 +165,7 @@ GROUP BY passenger_count;
| 15.394881909237196 | 1 |
+---------------------------------------------+-----------------+

Query took: 0.045805958 seconds. 7/7 rows displayed.
Time: 0.045805958 seconds. 7 rows.
```

**Step 10.** Clean up the Postgres container.
Expand Down
6 changes: 3 additions & 3 deletions spiceaidocs/docs/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ spice sql
The SQL REPL inferface will be shown:

```
Welcome to the interactive Spice.ai SQL Query Utility! Type 'help' for help.
Welcome to the Spice.ai SQL REPL! Type 'help' for help.

show tables; -- list available tables
sql>
Expand All @@ -114,7 +114,7 @@ sql> show tables
| taxi_trips |
+------------+

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

Enter a query to display the longest taxi trips:
Expand All @@ -141,7 +141,7 @@ Output:
| 44018.64 | 52.43 |
+---------------+--------------+

Query took: 0.035694958 seconds. 10/10 rows displayed.
Time: 0.035694958 seconds. 10 rows.
```

## Next Steps
Expand Down