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

snowplow-incubator / snowplow-postgres-loader / #61 / 1
66%
master: 68%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 03 Nov 2020 08:30AM UTC
Files 27
Run time 1s
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

03 Nov 2020 07:32AM UTC coverage: 65.76%. First build
#61.1

push

peel
Add support for nullable fields

Previously all the fields with nullable values were discarded as invalid.
However there is a wide range of fields that cannot be treated as non-nullable.

For example for enrichment failures bad row, we get following
structure (trimmed):
```
                column_name                | is_nullable |          data_type
-------------------------------------------+-------------+-----------------------------
 processor.artifact                        | NO          | character varying
 processor.version                         | NO          | character varying
 failure.messages                          | YES         | jsonb
 failure.timestamp                         | YES         | timestamp without time zone
 payload.enriched.app_id                   | YES         | character varying
 payload.enriched.base_currency            | YES         | character varying
...
```
Where only processor is non-nullable. Therefore enrichment failures would not be
written with evaluations like:
```
payload.enriched.br_cookies -> Some(null) ->  BigInt -> Left(Invalid type
BIGINT for value Some(null))
```
This PR allows marking fields nullable by default. We might want to consider a
smarter approach at some point.

411 of 625 relevant lines covered (65.76%)

0.66 hits per line

Source Files on job #61.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 61
  • 811d16cc on github
  • Next Job for on bug/null-is-invalid-for-nullable-fields (##62.1)
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

© 2026 Coveralls, Inc