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

Strange error message when a column has been dropped #477

Closed
oscarbatori opened this issue Mar 19, 2020 · 1 comment
Closed

Strange error message when a column has been dropped #477

oscarbatori opened this issue Mar 19, 2020 · 1 comment

Comments

@oscarbatori
Copy link
Contributor

I tried to update this table with a CSV that is missing the column PATHOGEN, but actually the problem is it's not in the data:

['dolt', 'table', 'import', 'ncov', '--pk=hash_id', '-u', '/var/folders/86/pvj3p5x12j1bzm740hrs45r00000gp/T/tmpi6pkx13m.csv'], b'Rows Processed: 0, Additions: 0, Modifications: 0, Had No Effect: 0', b'\nA bad row was encountered while moving data.\nBad Row:hash_id:"7efc920831629bcd975508498e590107" | EVENT_NAME:"nCoV_2019" | SOURCE:"HK CHP Severe Respiratory Disease associated with a Novel Infectious Agent" | DATE_LOW:"2019-12-01" | DATE_HIGH:"2020-01-20" | DATE_REPORT:"2020-01-21" | DATE_TYPE:"Authority notification" | SPATIAL_RESOLUTION:"AL0" | AL0_CODE:"CN" | AL0_NAME:"China" | AL1_CODE:nil | AL1_NAME:nil | AL2_NAME:nil | AL3_NAME:nil | LOCALITY_NAME:nil | LOCATION_TYPE:"Clinical care sought" | CONFIRM_STATUS:"CONFIRMED" | OUTCOME:"CASE" | CUMULATIVE_FLAG:"0" | VALUE:"278" | count:"1"\ninvalid column: PATHOGEN\nThese can be ignored using the \'--continue\'\n', 1)

We should probably warn explicitly about this.

@zachmu
Copy link
Member

zachmu commented Aug 10, 2021

Closing out as obsolete

@zachmu zachmu closed this as completed Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Dolt
  
Awaiting triage
Development

No branches or pull requests

2 participants