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

generateChangeLog loadData skipping empty tables and columns #873

Merged
merged 1 commit into from
Jul 8, 2019
Merged

generateChangeLog loadData skipping empty tables and columns #873

merged 1 commit into from
Jul 8, 2019

Conversation

fliptaboada
Copy link
Contributor

generateChangeLog was generating empty csv files for all tables and also inserts for columns that are empty in the whole table.

This was bad because when the table has no data, no type is set on the column on the resulting file.
Later on, when you try to load this file it triggered a unnecessary search for the column type for each load, which was taking ~20s each.

@nvoxland nvoxland merged commit 5db89d9 into liquibase:3.6.x Jul 8, 2019
@fliptaboada fliptaboada deleted the fix-loaddata-csv branch August 15, 2019 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants