-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before this change, any error in the enriching workflow would short circuit and a bad row would be emitted. After this change, if incomplete events are enabled, the enriching goes to the end with what is possible, accumulating errors as it goes. Errors get attached in derived_contexts. There are now 3 main steps : - Mapping and validating the input. This includes mapping fields of payload_data to the atomic event (e.g. tr_tt to tr_total while converting from string to number) and validating the contexts and unstruct event. Everything that goes wrong gets wrapped up in a SchemaViolations bad row. - Running the enrichments. Everything that goes wrong gets wrapped up in an EnrichmentFailures bad row. - Validating the output. This includes validating the enrichments contexts and the atomic fields lengths. Everything that goes wrong gets wrapped up in an EnrichmentFailures bad row.
- Loading branch information
Showing
14 changed files
with
382 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.