• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

snowplow / enrich
74%
master: 74%

Build:
Build:
LAST BUILD BRANCH: iglu-client-4.0.2
DEFAULT BRANCH: master
Repo Added 14 Jun 2020 09:27AM UTC
Files 132
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH switch_to_schema_violations
branch: switch_to_schema_violations
CHANGE BRANCH
x
Reset
  • switch_to_schema_violations
  • 3.8.x
  • 4.1.0-cve-fix
  • bug/api_enrichment
  • bug/make-cookie-extractor-case-insensitive
  • bump_libs
  • cats_effect_3
  • change-pii-example
  • configurable_atomic_field_limits
  • deprecate-stream-enrich
  • develop
  • enrich-nsq-default-region-chain
  • feat/cross_navigation
  • feature/azure-blob-storage-integration
  • feature/azure_auth_methods
  • feature/event-hub-oauth
  • feature/gcp-attribution
  • feature/license-config
  • feature/multiple-azure-storage-account
  • fix-docker-compose
  • iglu-client-4.0.2
  • incomplete_events
  • incomplete_events_config
  • incomplete_events_failure_data_fix
  • incomplete_events_failure_entity
  • incomplete_events_integration_test
  • incomplete_events_metrics
  • incomplete_events_unit_tests
  • issue/815-mandrill_adapter_update
  • issue/846-snowplow-limited-use-license
  • issue/851-headset_platform
  • js-headers
  • js-params
  • js-params-iife
  • license-update
  • mandrill-1-0-3
  • master
  • multiple-javascript-enrichments
  • multiple-javascript-enrichments-tests
  • observed_event
  • print_event_stuck
  • release/3.8.3
  • release/3.9.0
  • release/4.0.0
  • release/4.0.1
  • release/4.1.0
  • release/4.2.1
  • release_3.8.3
  • replace-mysql-client
  • schema-event-spec
  • schema-violations-fix
  • snapshot/switch_to_schema_violations
  • stop-publish-jar
  • test/cross-nav-it
  • test/validate-enrich-4.0-cross-navigation
  • too-long-atomic
  • tracking_scenarios
  • upgrade-kafka
  • upgrade-kcl

07 Mar 2024 04:20PM UTC coverage: 74.452% (+0.4%) from 74.045%
8191412055

Pull #883

github

benjben
Switch bad row type from EnrichmentFailures to SchemaViolations for some errors

There are 3 places that currently produce an EnrichmentFailures bad row
whereas the more appropriate type is SchemaViolations:

1. When the input fields of the HTTP requests are mapped to the atomic event.
2. When the enrichments contexts get validated.
3. When the atomic fields lengths get validated.

For 1 and 3, the error should be mapped into an Iglu ValidationError
with the atomic schema referenced.

Before this change, if there was any error in the mapping of the atomic fields,
a bad row would get emitted right away and we would not try to validate
the entities and unstruct event. Now all these errors are wrapped inside
a same SchemaViolations bad row.

Likewise, before this change when an enrichment context was invalid,
we were emitting a bad row right away and not checking the lengths of
the atomic fields. Now all these errors are wrapped inside a same
SchemaViolations bad row.
Pull Request #883: Switch bad row type from EnrichmentFailures to SchemaViolations for s…

108 of 124 new or added lines in 12 files covered. (87.1%)

28 existing lines in 7 files now uncovered.

4039 of 5425 relevant lines covered (74.45%)

1.19 hits per line

Relevant lines Covered
Build:
Build:
5425 RELEVANT LINES 4039 COVERED LINES
1.19 HITS PER LINE
Source Files on switch_to_schema_violations
  • Tree
  • List 130
  • Changed 42
  • Source Changed 19
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
8191412055 switch_to_schema_violations Switch bad row type from EnrichmentFailures to SchemaViolations for some errors There are 3 places that currently produce an EnrichmentFailures bad row whereas the more appropriate type is SchemaViolations: 1. When the input fields of the HTTP r... Pull #883 07 Mar 2024 04:39PM UTC benjben github
74.45
8154050413 switch_to_schema_violations Address review feedback Pull #883 05 Mar 2024 09:54AM UTC benjben github
74.25
8092387763 switch_to_schema_violations Switch bad row type from EnrichmentFailures to SchemaViolations for some errors There are 3 places that currently produce an EnrichmentFailures bad row whereas the more appropriate type is SchemaViolations: 1. When the input fields of the HTTP r... Pull #883 29 Feb 2024 07:37AM UTC benjben github
74.39
8087944399 switch_to_schema_violations Common: switch bad row type from EnrichmentFailures to SchemaViolations for some errors push 28 Feb 2024 10:44PM UTC benjben github
74.41
See All Builds (1099)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc