Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

  • Schema Evolving Validator

Fixed

Changed

    Removed

    Deprecated

    Security


Description

@norberttech norberttech linked an issue May 16, 2025 that may be closed by this pull request
@github-actions
Copy link
Contributor

Flow PHP - Benchmarks

Results of the benchmarks from this PR are compared with the results from 1.x branch.

Extractors
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| benchmark             | subject           | revs | its | mem_peak        | mode             | rstdev          |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| CSVExtractorBench     | bench_extract_10k | 1    | 3   | 4.888mb +0.13%  | 619.664ms +1.42% | ±1.74% +84.09%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.472mb -0.03%  | 1.347s +0.34%    | ±1.00% -15.49%  |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.485mb +0.01% | 928.107ms -0.67% | ±0.84% -25.85%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.612mb +0.14%  | 39.439ms +0.92%  | ±0.31% -13.86%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.587mb +0.14%  | 605.079ms +0.14% | ±1.35% +161.90% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                       | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEntryTransformerBench     | bench_transform_10k_rows | 1    | 3   | 127.409mb +0.00% | 69.502ms +0.54% | ±0.68% +31.51% |
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 19.157mb +0.03%  | 72.796ms -1.17% | ±0.05% -80.66% |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.055mb +0.01%  | 103.178ms -1.01% | ±1.06% +217.97% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.087mb +0.01%  | 96.821ms -0.63%  | ±0.43% -58.83%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.571mb +0.00% | 20.770s -0.27%   | ±0.43% +32.68%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.145mb +0.03%  | 30.821ms +0.65%  | ±0.75% +26.84%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.520mb +0.01% | 728.037ms +0.39% | ±1.25% +740.79% |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.030mb +0.01%  | 366.617ms +1.03% | ±0.67% -4.23%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.808mb +0.04%  | 78.980ms +1.99%  | ±0.29% +34.31%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.073mb +0.01%  | 3.595ms +7.33%   | ±2.41% +70.62%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.430mb +0.01% | 184.363ms +1.72% | ±0.38% -75.85%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.150mb +0.01%  | 18.407ms -0.65%  | ±0.55% -59.25%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.948mb +0.01%  | 1.533ms -23.33%  | ±3.97% +440.17% |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.948mb +0.01%  | 1.497ms -5.34%   | ±1.44% -55.01%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.109mb +0.01%  | 3.970ms -17.65%  | ±1.96% -24.40%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.638mb +0.01%  | 16.203ms -3.13%  | ±0.29% -84.58%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.638mb +0.01%  | 16.328ms -0.48%  | ±0.31% -59.46%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.329mb +0.01%  | 1.900μs -0.32%   | ±0.00% -100.00% |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.329mb +0.01%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.547mb +0.01% | 14.825ms +0.58%  | ±0.46% -30.98%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.614mb +0.00% | 73.510ms +0.80%  | ±1.37% +66.79%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.158mb +0.01%  | 1.348ms -5.48%   | ±0.34% -71.91%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.529mb +0.01% | 63.410ms -0.93%  | ±1.12% +19.24%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.210mb +0.01%  | 3.791ms -4.24%   | ±1.12% -38.05%  |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.692mb +0.01%  | 39.648ms -1.59%  | ±0.59% -3.22%   |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.692mb +0.01%  | 39.568ms -0.92%  | ±0.43% +5.38%   |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.692mb +0.01%  | 40.093ms -1.79%  | ±1.02% -40.71%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.770mb +0.01%  | 8.251ms -0.62%   | ±1.80% +457.79% |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.520mb +0.01%  | 29.469ms -1.41%  | ±1.81% +112.47% |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.329mb +0.01%  | 13.525μs -6.16%  | ±3.60% +452.57% |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.329mb +0.01%  | 15.383μs -9.21%  | ±1.39% -36.15%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.431mb +0.01% | 187.108ms +1.06% | ±0.71% +199.28% |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 44.055mb +0.01%  | 460.329ms -0.21% | ±0.58% +34.68%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.864mb +0.05%  | 93.355ms -1.23%  | ±0.98% +65.72%  |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.30%. Comparing base (04c5e31) to head (828bd3b).
Report is 2 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1655   +/-   ##
=======================================
  Coverage   83.29%   83.30%           
=======================================
  Files         706      707    +1     
  Lines       19129    19144   +15     
=======================================
+ Hits        15933    15947   +14     
- Misses       3196     3197    +1     
Components Coverage Δ
etl 86.40% <100.00%> (+0.02%) ⬆️
cli 84.59% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 90.11% <ø> (ø)
lib-filesystem 78.02% <ø> (ø)
lib-parquet 84.37% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-snappy 90.69% <ø> (-0.47%) ⬇️
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 96.38% <ø> (ø)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.57% <ø> (ø)
adapter-doctrine 89.73% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 80.00% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 90.62% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 80.85% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.20% <ø> (ø)
🚀 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 a5dbefe into 1.x May 16, 2025
23 checks passed
@norberttech norberttech deleted the 1654-evolving-schema-validator branch May 16, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evolving Schema Validator

2 participants