Skip to content

Commit d161000

Browse files
committed
docs(scalardb-analytics-spark-sample): update README for automatic data loading
- Remove manual sample-data-loader step - Add --wait flag to docker compose up command - Update step numbering - Add note about automatic data loading on first run
1 parent 5f8790c commit d161000

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

scalardb-analytics-spark-sample/README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,18 @@
55
### 1. Start services
66

77
```bash
8-
docker compose up -d
8+
docker compose up -d --wait
99
```
1010

11-
### 2. Load sample data
11+
This command will start all services and automatically load sample data on the first run.
1212

13-
```bash
14-
docker compose run --rm sample-data-loader
15-
```
16-
17-
### 3. Create catalog
13+
### 2. Create catalog
1814

1915
```bash
2016
docker compose run --rm scalardb-analytics-cli catalog create --catalog sample_catalog
2117
```
2218

23-
### 4. Register data sources
19+
### 3. Register data sources
2420

2521
```bash
2622
# Register ScalarDB data source
@@ -30,7 +26,7 @@ docker compose run --rm scalardb-analytics-cli data-source register --data-sourc
3026
docker compose run --rm scalardb-analytics-cli data-source register --data-source-json /config/data-sources/postgres.json
3127
```
3228

33-
### 5. Run Spark SQL
29+
### 4. Run Spark SQL
3430

3531
```bash
3632
docker compose run --rm spark-sql

0 commit comments

Comments
 (0)