Skip to content

Conversation

@stloyd
Copy link
Member

@stloyd stloyd commented Sep 24, 2025

Resolves: #1861

Change Log


Added

  • [GoogleSheetExtractor] Add support for `Schema`

Fixed

Changed

Removed

Deprecated

Security

@norberttech norberttech enabled auto-merge (squash) September 24, 2025 17:33
@norberttech norberttech merged commit 59463c9 into flow-php:1.x Sep 24, 2025
21 checks passed
@codecov
Copy link

codecov bot commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.52%. Comparing base (01d60a1) to head (153caae).
⚠️ Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1862      +/-   ##
==========================================
+ Coverage   82.48%   82.52%   +0.04%     
==========================================
  Files         772      772              
  Lines       21800    21803       +3     
==========================================
+ Hits        17981    17994      +13     
+ Misses       3819     3809      -10     
Components Coverage Δ
etl 89.25% <ø> (ø)
cli 85.91% <ø> (ø)
lib-array-dot 94.56% <ø> (ø)
lib-azure-sdk 61.35% <ø> (ø)
lib-doctrine-dbal-bulk 95.59% <ø> (ø)
lib-filesystem 80.25% <ø> (ø)
lib-types 53.55% <ø> (ø)
lib-parquet 85.50% <ø> (ø)
lib-parquet-viewer 83.11% <ø> (ø)
lib-snappy 90.23% <ø> (+0.46%) ⬆️
bridge-filesystem-async-aws 90.38% <ø> (ø)
bridge-filesystem-azure 89.92% <ø> (ø)
bridge-monolog-http 97.04% <ø> (ø)
bridge-openapi-specification 94.52% <ø> (ø)
symfony-http-foundation 74.41% <ø> (ø)
adapter-chartjs 86.70% <ø> (ø)
adapter-csv 88.85% <ø> (ø)
adapter-doctrine 91.21% <ø> (ø)
adapter-elasticsearch 97.23% <ø> (ø)
adapter-google-sheet 91.66% <100.00%> (+7.17%) ⬆️
adapter-http 58.10% <ø> (ø)
adapter-json 87.98% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.95% <ø> (ø)
adapter-parquet 78.92% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 82.73% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@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.956mb -0.02%  | 435.169ms +0.66% | ±0.11% -80.13% |
| ExcelExtractorBench   | bench_extract_10k_ods  | 1    | 3   | 66.215mb -0.00% | 1.094s -0.19%    | ±0.84% +1.64%  |
| ExcelExtractorBench   | bench_extract_10k_xlsx | 1    | 3   | 68.326mb -0.00% | 1.717s -0.16%    | ±0.38% -70.39% |
| JsonExtractorBench    | bench_extract_10k      | 1    | 3   | 5.492mb +0.01%  | 1.158s -0.37%    | ±0.29% +96.22% |
| ParquetExtractorBench | bench_extract_10k      | 1    | 3   | 10.788mb -0.26% | 9.531s -19.67%   | ±0.27% -62.83% |
| TextExtractorBench    | bench_extract_10k      | 1    | 3   | 4.682mb -0.02%  | 61.228ms -0.63%  | ±0.52% +19.42% |
| XmlExtractorBench     | bench_extract_10k      | 1    | 3   | 4.665mb -0.02%  | 622.394ms -1.65% | ±0.26% -63.03% |
+-----------------------+------------------------+------+-----+-----------------+------------------+----------------+
Transformers
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| benchmark                       | subject                  | revs | its | mem_peak         | mode            | rstdev         |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 18.687mb -0.01%  | 73.246ms -0.36% | ±0.35% -29.78% |
| RenameEntryTransformerBench     | bench_transform_10k_rows | 1    | 3   | 123.490mb -0.00% | 67.317ms +0.60% | ±0.79% -1.29%  |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 62.781mb -0.00%  | 90.533ms -1.09%  | ±0.75% -50.81%  |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 80.702mb -0.00%  | 102.845ms +1.19% | ±0.51% -38.00%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 819.384mb +0.04% | 20.309s -26.02%  | ±0.55% +28.45%  |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.982mb -0.01%  | 34.015ms -1.05%  | ±1.94% +978.39% |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 42.608mb -0.00%  | 401.387ms -0.71% | ±0.18% -13.45%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.665mb -0.01%  | 81.814ms -2.94%  | ±0.47% -66.96%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 106.085mb -0.00% | 663.341ms +1.12% | ±0.99% -7.26%   |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.363mb -0.00%  | 331.007ms -1.67% | ±0.18% -89.51%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.949mb -0.01%  | 70.570ms -0.45%  | ±1.71% +92.96%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 93.553mb -0.00%  | 3.560ms -20.14%  | ±1.29% -38.12%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 110.943mb -0.00% | 239.019ms -0.19% | ±0.72% +13.83%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 93.663mb -0.00%  | 24.227ms -0.71%  | ±0.08% -93.11%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 94.428mb -0.00%  | 1.843ms -9.60%   | ±1.74% +88.37%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 94.428mb -0.00%  | 1.518ms -26.78%  | ±2.65% +173.98% |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 92.589mb -0.00%  | 3.447ms -8.27%   | ±1.34% -52.88%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 93.117mb -0.00%  | 15.420ms -1.32%  | ±0.94% -18.92%  |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 93.117mb -0.00%  | 15.350ms -3.65%  | ±0.22% -73.91%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 91.806mb -0.00%  | 1.994μs +4.61%   | ±2.40% -1.69%   |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 91.806mb -0.00%  | 0.300μs -25.00%  | ±0.00% -100.00% |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 100.867mb -0.00% | 15.087ms -9.23%  | ±1.80% -35.86%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 130.294mb -0.00% | 69.439ms -3.46%  | ±1.53% +89.04%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 93.637mb -0.00%  | 1.290ms -30.94%  | ±2.32% -32.90%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 97.025mb -0.00%  | 61.958ms -2.26%  | ±0.83% -8.30%   |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 94.690mb -0.00%  | 3.568ms -17.66%  | ±2.05% +43.29%  |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 92.187mb -0.00%  | 40.126ms -4.10%  | ±1.31% +272.24% |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 92.187mb -0.00%  | 40.229ms -2.68%  | ±2.56% +693.43% |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 92.187mb -0.00%  | 40.253ms -2.51%  | ±0.36% -69.03%  |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 94.249mb -0.00%  | 8.008ms -6.83%   | ±1.16% -22.63%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 91.999mb -0.00%  | 29.974ms -1.83%  | ±1.42% +60.56%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 91.806mb -0.00%  | 14.900μs +0.04%  | ±1.10% +245.64% |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 91.806mb -0.00%  | 16.940μs -3.19%  | ±2.03% -27.58%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 110.943mb -0.00% | 239.036ms -1.50% | ±1.50% +797.76% |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
Parquet Library
+--------------------+---------------------------------+------+-----+------------------+-------------------+-----------------+
| benchmark          | subject                         | revs | its | mem_peak         | mode              | rstdev          |
+--------------------+---------------------------------+------+-----+------------------+-------------------+-----------------+
| ParquetReaderBench | bench_page_headers              | 1    | 3   | 6.989mb -0.02%   | 3.348s -0.17%     | ±0.44% -22.23%  |
| ParquetReaderBench | bench_read_metadata             | 1    | 3   | 5.444mb -0.02%   | 18.560ms -1.41%   | ±0.45% +114.09% |
| ParquetReaderBench | bench_read_schema               | 1    | 3   | 5.444mb -0.02%   | 18.373ms -2.01%   | ±0.16% -88.32%  |
| ParquetReaderBench | bench_read_values_all_columns   | 1    | 3   | 9.260mb -0.21%   | 5.606s -29.83%    | ±0.40% -32.30%  |
| ParquetReaderBench | bench_read_values_single_column | 1    | 3   | 6.491mb -0.31%   | 234.185ms -49.44% | ±0.41% +29.49%  |
| ParquetReaderBench | bench_read_values_with_limit    | 1    | 3   | 7.075mb -1.21%   | 29.384ms -14.50%  | ±0.15% -51.30%  |
| ParquetWriterBench | bench_write_batch               | 1    | 3   | 11.878mb -14.76% | 193.864ms -13.42% | ±0.84% +220.34% |
| ParquetWriterBench | bench_write_gzip                | 1    | 3   | 10.503mb +0.01%  | 220.961ms +0.11%  | ±0.10% -80.59%  |
| ParquetWriterBench | bench_write_row_by_row          | 1    | 3   | 11.878mb -14.76% | 195.744ms -13.44% | ±1.41% +33.60%  |
| ParquetWriterBench | bench_write_snappy              | 1    | 3   | 11.878mb -14.76% | 196.428ms -12.29% | ±1.45% +162.38% |
| ParquetWriterBench | bench_write_uncompressed        | 1    | 3   | 10.124mb +0.01%  | 190.979ms -1.01%  | ±0.84% -4.63%   |
+--------------------+---------------------------------+------+-----+------------------+-------------------+-----------------+

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.

[Proposal]: Introduce schema support into Google Sheet adapter

2 participants