Skip to content

Commit

Permalink
update cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
t-silvers committed Mar 15, 2024
1 parent 48f7472 commit 003571c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ db_targets := $(addsuffix .done, $(addprefix $(temp_dir)/,$(tbl_names)))

ingest: directories create_index $(db_targets)

# TODO: Once support added for the DuckDB config to change directories,
# will need to change paths for model scripts.

create_index:
@echo Create data indices ...
@$(DUCKDB) $(DB) -init $(db_config) -c ".read models/create_index.sql"
Expand Down
3 changes: 2 additions & 1 deletion config/duckdb_cfg.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.bail on
.cd getenv('data_dir')
-- TODO: Doesn't work as expected
-- .cd getenv('data_dir')
.prompt 'duckdb> '

set enable_progress_bar = true;
Expand Down

0 comments on commit 003571c

Please sign in to comment.