ontodev / valve.rs

A lightweight validation engine written in rust.
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Make VALVE more strict with tables and columns #65

Closed jamesaoverton closed 5 months ago

jamesaoverton commented 8 months ago

I would like to change a couple of VALVE behaviours to be more strict:

  1. Every table listed in 'table' should be created. If there is no TSV file for that table then VALVE should print a warning, and create an empty table.
  2. All and only the columns listed in 'column' should be allowed. If a TSV file does not contain exactly the columns listed in 'column' then VALVE should fail to load, with a helpful warning. VALVE should accept columns in any order -- I'm tempted to enforce order as well, but for now we will not enforce it.