Commit d6399bd8 authored by Eevans's avatar Eevans
Browse files

Demonstrate loading test data from csv

parent 5776afcc
all: start
all: startup
bootstrap: schema load
......@@ -8,13 +8,16 @@ cqlsh:
docker-compose run cassandra cqlsh cassandra
load:
@true
docker-compose run cassandra cqlsh cassandra -f /env/test_data.cql
schema:
docker-compose run cassandra cqlsh cassandra -f /env/aqs_schema.cql
docker-compose run cassandra cqlsh cassandra -f /env/schema.cql
start:
docker-compose up --force-recreate --abort-on-container-exit
startup:
docker-compose up --abort-on-container-exit
shutdown:
docker-compose down --remove-orphans
.PHONY: all bootstrap cqlsh load schema start
.PHONY: all bootstrap cqlsh load schema startup shutdown
......@@ -24,5 +24,5 @@ $ make bootstrap
## TODO
- [ ] Implement the `load` target (`Makefile`) to add Cassandra sample data
- [x] Implement the `load` target (`Makefile`) to add Cassandra sample data
- [ ] Extend the environment to include Druid (+ sample data)
COPY "local_group_default_T_pageviews_per_article_flat".data FROM '/env/test_data.d/local_group_default_T_pageviews_per_article_flat.csv';
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment