Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Adding missing semicolons to quickstart queries #201

Merged
merged 1 commit into from
Oct 7, 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 catalogs/databricks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ SELECT * FROM db_uc.<SCHEMA_NAME>.<TABLE_NAME> LIMIT 10;
Example:

```bash
sql> select trace_id, block_number from db_uc.default.traces limit 10
sql> select trace_id, block_number from db_uc.default.traces limit 10;
+-------------------------------------------------------------------------------+--------------+
| trace_id | block_number |
+-------------------------------------------------------------------------------+--------------+
Expand Down
4 changes: 2 additions & 2 deletions catalogs/spiceai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SELECT * FROM spiceai.tpch.lineitem LIMIT 10;
Use `show tables` in the Spice SQL REPL to see the available datasets.

```bash
sql> show tables
sql> show tables;
+---------------+--------------+----------------------------------------------------------------+------------+
| table_catalog | table_schema | table_name | table_type |
+---------------+--------------+----------------------------------------------------------------+------------+
Expand Down Expand Up @@ -100,7 +100,7 @@ catalogs:
```

```bash
sql> show tables
sql> show tables;
+---------------+--------------+---------------+------------+
| table_catalog | table_schema | table_name | table_type |
+---------------+--------------+---------------+------------+
Expand Down
2 changes: 1 addition & 1 deletion catalogs/unity_catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ SELECT * FROM uc.<SCHEMA_NAME>.<TABLE_NAME> LIMIT 10;

Example:
```bash
sql> select trace_id, block_number from db_uc.default.traces limit 10
sql> select trace_id, block_number from db_uc.default.traces limit 10;
+-------------------------------------------------------------------------------+--------------+
| trace_id | block_number |
+-------------------------------------------------------------------------------+--------------+
Expand Down
2 changes: 1 addition & 1 deletion clickhouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ $ spice sql
Welcome to the Spice.ai SQL REPL! Type 'help' for help.

show tables; -- list available tables
sql> select * from my_first_table
sql> select * from my_first_table;
+---------+----------------------------------------------------+---------------------+---------+
| user_id | message | timestamp | metric |
+---------+----------------------------------------------------+---------------------+---------+
Expand Down
4 changes: 2 additions & 2 deletions databricks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Spice can read data straight from a Databricks instance. This guide will create
Welcome to the Spice.ai SQL REPL! Type 'help' for help.

show tables; -- list available tables
sql> show tables
sql> show tables;
+---------------+--------------+---------------+------------+
| table_catalog | table_schema | table_name | table_type |
+---------------+--------------+---------------+------------+
Expand All @@ -83,7 +83,7 @@ Spice can read data straight from a Databricks instance. This guide will create
```

```shell
sql> describe spice.public.my_table
sql> describe spice.public.my_table;
+-----------------------+------------------------------+-------------+
| column_name | data_type | is_nullable |
+-----------------------+------------------------------+-------------+
Expand Down
12 changes: 6 additions & 6 deletions github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Wait until all datasets are loaded:
Get the 10 most recently updated issues:

```console
sql> select number, title, state, labels, updated_at from spiceai.issues order by updated_at desc limit 10
sql> select number, title, state, labels, updated_at from spiceai.issues order by updated_at desc limit 10;
+--------+------------------------------------------------------------------------+--------+--------------------+----------------------+
| number | title | state | labels | updated_at |
+--------+------------------------------------------------------------------------+--------+--------------------+----------------------+
Expand All @@ -75,7 +75,7 @@ Time: 0.017607167 seconds. 10 rows.
Get the 10 most recently merged pull requests:

```console
sql> select number, title, state, merged_at from spiceai.pulls where state = 'MERGED' order by merged_at desc limit 10
sql> select number, title, state, merged_at from spiceai.pulls where state = 'MERGED' order by merged_at desc limit 10;
+--------+--------------------------------------------------------------------------------+--------+----------------------+
| number | title | state | merged_at |
+--------+--------------------------------------------------------------------------------+--------+----------------------+
Expand All @@ -97,7 +97,7 @@ Time: 0.010307125 seconds. 10 rows.
Get the 10 most recent commits:

```console
sql> select message_head_line, author_name, sha from spiceai.commits order by committed_date desc limit 10
sql> select message_head_line, author_name, sha from spiceai.commits order by committed_date desc limit 10;
+--------------------------------------------------------------------------+------------------+------------------------------------------+
| message_head_line | author_name | sha |
+--------------------------------------------------------------------------+------------------+------------------------------------------+
Expand All @@ -119,7 +119,7 @@ Time: 0.009864666 seconds. 10 rows.
Get the 10 most recent stargazers of the spiceai repository

```console
sql> select starred_at, login from spiceai.stargazers order by starred_at DESC limit 10
sql> select starred_at, login from spiceai.stargazers order by starred_at DESC limit 10;
+----------------------+----------------------+
| starred_at | login |
+----------------------+----------------------+
Expand All @@ -141,7 +141,7 @@ Time: 0.0088075 seconds. 10 rows.
List beta release notes files:

```console
sql> select name, path, download_url, content from spiceai.files where path like 'docs/release_notes/%-beta.md'
sql> select name, path, download_url, content from spiceai.files where path like 'docs/release_notes/%-beta.md';
+-----------------+------------------------------------+---------------------------------------------------------------------------------------------------+
| name | path | download_url |
+-----------------+------------------------------------+---------------------------------------------------------------------------------------------------+
Expand All @@ -154,7 +154,7 @@ sql> select name, path, download_url, content from spiceai.files where path like
Read release notes of Spice `v0.17.2-beta` release

```console
sql> select content from spiceai.files where name = 'v0.17.0-beta.md'
sql> select content from spiceai.files where name = 'v0.17.0-beta.md';
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| content |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Expand Down
Loading