Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Options #8

Open
IAmVigneswaran opened this issue Oct 27, 2023 · 1 comment
Open

Validation Options #8

IAmVigneswaran opened this issue Oct 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request future idea Features to add in future
Milestone

Comments

@IAmVigneswaran
Copy link
Contributor

@arjunprakash027 Similarly to csv2notion. Let's implement Validation Options.

validation options:

--mandatory-column COLUMN
CSV column that cannot be empty (use multiple times for multiple columns)

--fail-on-relation-duplicates
fail if any linked DBs in relation columns have duplicate entries; otherwise, first entry in alphabetical order will be treated as unique when looking up relations

--fail-on-duplicates
fail if Airtable or CSV has duplicates in key column, useful when sanitizing before merge to avoid ambiguous mapping

--fail-on-duplicate-csv-columns
fail if CSV has duplicate columns; otherwise last column will be used

--fail-on-conversion-error
fail if any column type conversion error occurs; otherwise errors will be replaced with empty strings

--fail-on-missing-columns
fail if columns are present in CSV but not in Airtable; otherwise those columns will be ignored

Thank you.

@IAmVigneswaran IAmVigneswaran added the enhancement New feature or request label Oct 27, 2023
@IAmVigneswaran IAmVigneswaran added this to the 1.0.0 milestone Oct 27, 2023
@arjunprakash027
Copy link
Contributor

added fail-on-duplicate-csv-columns!

@IAmVigneswaran IAmVigneswaran modified the milestones: 1.0.0, 1.1.0 Nov 6, 2023
@IAmVigneswaran IAmVigneswaran added the future idea Features to add in future label Feb 11, 2024
@IAmVigneswaran IAmVigneswaran modified the milestones: 1.1.0, 1.2.0 Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request future idea Features to add in future
Projects
None yet
Development

No branches or pull requests

2 participants