Smarter Data Sync #78
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-dbi#78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Had an idea to make data sync a bit smarter and more useful when the database is not quite up to spec. Before sync'ing a table we can do the following:
These two updates should all but stop any sync errors when the data sync files are ahead, behind, or just out of sync with the actual schema that is loaded into the database. Any tables or columns that have data but don't exist, will simply be filtered out.
Also, not 100% sure how this will work, but we may be able to check if there are NOT NULL columns and if they don't have data to sync we could "make something up", like NA for
VARCHAR/TEXT
, 0 forINTEGER
or FALSE forBOOLEAN
types. Or at a minimum we could display a data sync error that is more clear.assigned to @jamie
created branch
78-smarter-data-sync
to address this issuementioned in merge request !47