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

snowplow / schema-ddl / 12007810384
81%
master: 81%

Build:
Build:
LAST BUILD BRANCH: fix-ipv6
DEFAULT BRANCH: master
Ran 25 Nov 2024 10:16AM UTC
Jobs 1
Files 42
Run time 1min
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

25 Nov 2024 10:12AM UTC coverage: 80.314% (-0.4%) from 80.692%
12007810384

push

github

web-flow
Preserve original field order when merging parquet Fields (#213)

We use the `Migrations.mergeSchema` function in the loaders, for
combining a series of schemas (e.g. `1-0-0`, `1-0-1`, `1-0-2`) into a
reconciled column

Before this PR, `mergeSchemas` contained some logic to preserve field
order... but it was the wrong logic. It preserved field order of the
newer schema, ignoring whether a field was present in the older schema.

After this PR, we preserve field order of the older schema.  New fields
added in a later schema are appended to the end of the field list.

This feature change is needed for loaders that only allow field
additions when they are appended to the end of a struct. E.g. the Lake
Loader for Hudi/Glue.

15 of 15 new or added lines in 2 files covered. (100.0%)

14 existing lines in 10 files now uncovered.

1277 of 1590 relevant lines covered (80.31%)

0.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.05
-1.64% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/jsonschema/mutate/Mutate.scala
1
69.23
-2.56% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/bigquery/Row.scala
1
85.71
-4.76% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/jsonschema/JsonPath.scala
1
75.0
-8.33% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/jsonschema/circe/CommonCodecs.scala
1
78.89
0.0% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/redshift/internal/ColumnTypeSuggestions.scala
1
87.27
0.0% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/jsonschema/mutate/Widened.scala
2
86.54
-3.85% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/redshift/ShredModelEntry.scala
2
83.33
-3.03% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/parquet/Caster.scala
2
90.0
-2.86% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/parquet/Suggestion.scala
2
71.43
0.0% modules/core/src/main/scala/com.snowplowanalytics/iglu.schemaddl/jsonschema/circe/StringCodecs.scala
Jobs
ID Job ID Ran Files Coverage
1 12007810384.1 25 Nov 2024 10:16AM UTC 42
80.31
GitHub Action Run
Source Files on build 12007810384
  • Tree
  • List 42
  • Changed 14
  • Source Changed 2
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bd5e4ba0 on github
  • Prev Build on master (#11124453738)
  • Next Build on develop (#12008312879)
  • Delete
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