Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 633 Bytes

File metadata and controls

20 lines (16 loc) · 633 Bytes

Description

This project is a playground for exercising in PRQL query language

It helps prepare the infrastructure for that:

  • docker compose stack
  • DuckDB with:
    • PRQL extension
    • prepared dataset

How to run

  • create alias (to start duckdb, in "persisted" mode, i.e. from countries.duckdb file AND execute piped in command)
    alias ddb='sudo docker compose run --rm duck ./duckdb countries.duckdb -cmd'
    
  • use duckdb via alias, e.g. following is equivalent to ./duckdb -cmd "describe countries;"
    ddb "describe countries;"