-
Notifications
You must be signed in to change notification settings - Fork 2
Add module or function to delete all empty/null values #34
Comments
For |
Yes, this sounds good. We'd have two |
+1 for enhancing |
Well, that's a bit of stretch ;) It was explicitly designed for (Java) But I won't oppose expanding |
If I remember it Also in context of OERSI we have he module filter-null-values: https://gitlab.com/oersi/oersi-etl/-/blob/master/data/production/hoou-to-oersi.flux#L14 |
That's correct. But it seems that the new Metafix implementation ignores If you believe that's sufficient, you can add #60 under "Linked pull requests". Otherwise, just leave this ticket open. |
Closing, supported by |
When using fix to map a data set one has to address all fields that could have empty or null values with an additional not-equal function.
e.g.
https://gitlab.com/oersi/oersi-etl/-/blob/develop/data/production/edu-sharing.fix#L44
The problem with that is that you have to know all fields that could have empty values and for each of them you have to add the not-equals function. This would expand the FIX quiet a bit with all the exceptions.
A Flux-module or a FIX-function would be good that would delete all metadata fields with emtpy values in a data set per record. So that no additional exception is necessary. Since different data sets have different values marking that it is empty as
null
or""
It would be good to add an attribute to that functions so one can determine what an empty value is.The text was updated successfully, but these errors were encountered: