-
Notifications
You must be signed in to change notification settings - Fork 1
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
Transformation tool: column headers are repeated in column values #153
Comments
With 1000 rows in the SQL Server database and a batch size of 750, I see that the header is repeated in the OED location file: line 1 (expected), line 1002, line 2003. Not sure where those numbers come from. Total number of rows in the csv is 3,003 (3,000 of data plus 3 headers, 2 of them redundant). Apparently each database row yields more than one (three?) OED rows. I assume that's expected. |
Here's the error that is displayed due to this issue if we omit Interesting that the tool crashes rather than displaying a clean validation error such as "BaseFloodElevation must be a float. 'BaseFloodElevation' is not a valid value." Ideally it would report all validation errors and not just the first to avoid suggesting that there's something special about one column when many are affected.
|
Issue Description
Every column contains its header as a column value when there are more than
batch_size
rows.Steps to Reproduce (Bugs only)
Version / Environment information
Name: ods_tools
Version: 3.2.7
Example data / logs
The text was updated successfully, but these errors were encountered: