turicas / rows

A common, beautiful interface to tabular data, no matter the format
GNU Lesser General Public License v3.0
869 stars 134 forks source link

Import just some fields from csv based on schema parameter #327

Open josircg opened 5 years ago

josircg commented 5 years ago

Imagine a csv with 200 fields and I just want to import 2 ou 3 fields.

Rows could have an option to import just the columns defined on schema parameter. For example:

rows pgimport receitas.csv $POSTGRESQL_URI doacao --no-create-table --schema=schema_receita.csv