The prompt for this exercise is in rust_code_challenge.pdf.
cargo run
will run using the sql found inqueries.sql
and metadata fromcolumns.csv
. This is configurable.cargo test
will test against a couple of examples.
The spec for this exercise didn't really have a goal output. So, cargo run
prints the lineage and the opacity of that lineage for each sql statement in
queries.sql
.
- simple select with identifiers and simple functions (like
COUNT
) only - column usage
- unions
- handling column aliases
- nested queries
- handling expressions with multiple source columns (like + or functions)