Skip to content

fix(flow-php/etl): SchemaValidationException no longer lists columns accepted by the validator and renders the nullable marker on expected types #2504

Merged
norberttech merged 1 commit into
1.xfrom
schema-matching-exception
Jul 4, 2026
Merged

Conversation

@norberttech

Copy link
Copy Markdown
Member

Resolves: #2496

Change Log


Added

  • code>flow-php/etl - support for brick/math 0.18
  • flow-php/etl - ValidationContext and MismatchedDefinition value objects with schema diff rendering via ValidationContext::toString()
  • flow-php/etl - SchemaValidationException::context() accessor

Fixed

  • flow-php/etl - SchemaValidationException message no longer lists FROM_NULL columns accepted by the validator
  • flow-php/etl - SchemaValidationException message renders the nullable ? marker on expected types

Changed

  • flow-php/etl - SchemaValidator::isValid() replaced by validate() returning ValidationContext
  • flow-php/etl - schema_validate() returns ValidationContext instead of bool
  • flow-php/etl - allowed brick/math ^0.18

Removed

Deprecated

Security

…accepted by the validator and renders the nullable marker on expected types (#2496

- SchemaValidator::isValid() replaced by validate() returning
ValidationContext with missing/mismatched/unexpected definitions
- exception message rendered from validator findings via
ValidationContext::toString(), FROM_NULL columns no longer reported
- schema_validate() DSL returns ValidationContext instead of bool
- upgrading.md entry for the SchemaValidator API break
- allow brick/math ^0.18
@norberttech norberttech added this to the 0.42.0 milestone Jul 4, 2026
@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.72727% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.90%. Comparing base (7b585d4) to head (4b753d8).
⚠️ Report is 1 commits behind head on 1.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##                1.x    #2504      +/-   ##
============================================
- Coverage     85.91%   85.90%   -0.01%     
- Complexity    21866    21871       +5     
============================================
  Files          1650     1652       +2     
  Lines         67516    67527      +11     
============================================
+ Hits          58003    58011       +8     
- Misses         9513     9516       +3     
Components Coverage Δ
etl 88.52% <97.72%> (-0.02%) ⬇️
cli 89.40% <ø> (ø)
lib-array-dot 81.44% <ø> (ø)
lib-azure-sdk 64.44% <ø> (ø)
lib-doctrine-dbal-bulk 93.61% <ø> (ø)
lib-filesystem 85.03% <ø> (ø)
lib-types 90.06% <ø> (ø)
lib-parquet 70.10% <ø> (ø)
lib-parquet-viewer 82.26% <ø> (ø)
lib-snappy 89.38% <ø> (ø)
lib-dremel 0.00% <ø> (ø)
lib-postgresql 88.62% <ø> (ø)
lib-telemetry 86.58% <ø> (ø)
bridge-filesystem-async-aws 92.74% <ø> (ø)
bridge-filesystem-azure 90.45% <ø> (ø)
bridge-monolog-http 96.82% <ø> (ø)
bridge-monolog-telemetry 94.79% <ø> (ø)
bridge-openapi-specification 92.07% <ø> (ø)
symfony-http-foundation 78.57% <ø> (ø)
bridge-psr18-telemetry 100.00% <ø> (ø)
bridge-psr3-telemetry 98.95% <ø> (ø)
bridge-psr7-telemetry 100.00% <ø> (ø)
bridge-telemetry-otlp 90.41% <ø> (ø)
bridge-symfony-http-foundation-telemetry 92.85% <ø> (ø)
bridge-symfony-filesystem-bundle 90.66% <ø> (ø)
bridge-symfony-filesystem-cache 98.18% <ø> (ø)
bridge-symfony-postgresql-bundle 93.39% <ø> (ø)
bridge-symfony-postgresql-cache 94.41% <ø> (ø)
bridge-symfony-postgresql-messenger 98.80% <ø> (ø)
bridge-symfony-postgresql-session 93.65% <ø> (ø)
bridge-symfony-telemetry-bundle 90.23% <ø> (ø)
adapter-chartjs 84.05% <ø> (ø)
adapter-csv 91.16% <ø> (ø)
adapter-doctrine 90.79% <ø> (ø)
adapter-google-sheet 99.18% <ø> (ø)
adapter-http 72.34% <ø> (ø)
adapter-json 88.63% <ø> (ø)
adapter-logger 50.00% <ø> (ø)
adapter-parquet 77.70% <ø> (ø)
adapter-text 74.13% <ø> (ø)
adapter-xml 83.40% <ø> (ø)
adapter-avro 0.00% <ø> (ø)
adapter-excel 94.21% <ø> (ø)
adapter-postgresql 91.06% <ø> (ø)
adapter-seal 85.42% <ø> (ø)
bridge-phpunit-postgresql 75.30% <ø> (ø)
bridge-phpunit-telemetry 87.32% <ø> (ø)
bridge-phpstan-types 0.00% <ø> (ø)
bridge-postgresql-valinor 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@norberttech norberttech merged commit 9be47f4 into 1.x Jul 4, 2026
39 checks passed
@norberttech norberttech deleted the schema-matching-exception branch July 4, 2026 20:09
@github-project-automation github-project-automation Bot moved this from Todo to Done in Roadmap Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: SchemaValidationException message lists valid columns and omits the nullable marker on the expected type

1 participant