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

Add option for Mysql Import to support removing empty rows #4291

Closed
1 of 4 tasks
swirtSJW opened this issue Sep 17, 2024 · 2 comments · Fixed by #4292
Closed
1 of 4 tasks

Add option for Mysql Import to support removing empty rows #4291

swirtSJW opened this issue Sep 17, 2024 · 2 comments · Fixed by #4292
Assignees

Comments

@swirtSJW
Copy link
Contributor

Feature Description

As a data maintainer I would like the option to have the MySQL importer remove any empty rows immediately following the import. This should be an option because there may be some use cases where we want preservation of exactly what was provided in the CSV. The default on this option should default to off, so as not to introduce any changes.

Detailed Feature Description

When using the MySQL Import, provide an option to remove any empty rows.

Problem and Motivation

When harvesting CSVs, the chunk harvester would ignore any empty rows that it encountered. The MySQL Importer preserves any empty rows encountered. This can create a data change when switching from one method to the other.

Potential Benefits

Gives a bit more control over data managment.

Target Audience

  • End Users
  • Developers
  • Administrators
  • Other

Possible Implementation

  • Create a MySQL Import setting page to capture the setting.
  • Add handling after the import completes, to remove empty rows from the table if the option to remove them is enabled.

Additional Context

No response

@swirtSJW swirtSJW self-assigned this Sep 17, 2024
@swirtSJW
Copy link
Contributor Author

image

@swirtSJW
Copy link
Contributor Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant