Skip to content

Conversation

@norberttech
Copy link
Member

@norberttech norberttech commented Jan 26, 2025

Change Log

Added

Fixed

Changed

  • Join columns from a join expression won't trigger the join duplicated columns exception anymore.

Removed

Deprecated

Security


Description

Resolves: #1212

colors="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerErrors="true"
cacheDirectory="var/phpunit/cache"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bellangelo So the result cache file option was removed, but the result cache is always stored in the PHPUnit cache folder or in the root directory. Adding this option moves the result cache to the PHPUnit cache folder.

@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.773mb +0.01%  | 555.910ms -0.10% | ±0.51% -42.43%  |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 4.841mb +0.02%  | 1.066s +0.78%    | ±1.68% +415.16% |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.490mb +0.00% | 915.484ms +3.17% | ±0.40% +44.74%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.502mb +0.02%  | 35.787ms +2.87%  | ±0.78% -70.28%  |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.479mb +0.01%  | 609.703ms +0.75% | ±1.36% +142.94% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| benchmark                   | subject                  | revs | its | mem_peak         | mode            | rstdev        |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 127.301mb +0.00% | 71.828ms +3.52% | ±0.75% -1.44% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+---------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 63.905mb +0.00%  | 104.799ms +2.39% | ±2.35% +348.70% |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.313mb +0.00%  | 100.175ms -0.24% | ±0.69% -80.42%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 161.207mb +0.00% | 20.705s +1.17%   | ±0.59% +7.89%   |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 17.969mb +0.00%  | 30.981ms +4.29%  | ±0.62% +6.10%   |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.939mb +0.00% | 459.749ms +1.00% | ±0.12% -84.36%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.129mb +0.00%  | 233.555ms +2.89% | ±0.84% -27.88%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.651mb +0.01%  | 52.268ms +4.09%  | ±0.19% -84.32%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 96.988mb +0.00%  | 4.187ms +29.46%  | ±1.55% +25.17%  |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.270mb +0.00% | 190.337ms +0.02% | ±0.39% -60.87%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 96.990mb +0.00%  | 19.331ms +1.02%  | ±0.64% -69.27%  |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.863mb +0.00%  | 2.068ms +44.39%  | ±1.79% +168.41% |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.863mb +0.00%  | 1.906ms +23.53%  | ±3.31% +28.14%  |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.023mb +0.00%  | 4.793ms +18.25%  | ±2.08% +84.54%  |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.552mb +0.00%  | 16.595ms +2.51%  | ±0.59% +7.83%   |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.552mb +0.00%  | 16.595ms +4.13%  | ±2.53% +15.04%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.244mb +0.00%  | 2.000μs +5.26%   | ±0.00% -100.00% |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.244mb +0.00%  | 0.400μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.462mb +0.00% | 16.010ms +11.98% | ±3.09% -7.88%   |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.529mb +0.00% | 71.894ms +3.70%  | ±0.27% +29.54%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.072mb +0.00%  | 1.937ms +56.36%  | ±2.68% +173.77% |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.369mb +0.00% | 63.459ms +0.92%  | ±0.92% -30.90%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.125mb +0.00%  | 4.212ms +16.59%  | ±1.58% +133.57% |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.531mb +0.00%  | 43.228ms +0.85%  | ±1.28% +2.48%   |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.532mb +0.00%  | 43.831ms +5.10%  | ±0.95% -22.11%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.531mb +0.00%  | 44.122ms +2.79%  | ±2.75% +258.15% |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.684mb +0.00%  | 8.625ms +3.77%   | ±2.02% +184.05% |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.434mb +0.00%  | 30.397ms +5.27%  | ±1.48% +86.35%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.244mb +0.00%  | 14.412μs +1.11%  | ±1.84% -41.36%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.244mb +0.00%  | 16.817μs +10.57% | ±1.29% -55.51%  |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.271mb +0.00% | 193.958ms +0.63% | ±2.79% +516.14% |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 43.777mb +0.00%  | 362.974ms +1.23% | ±0.95% -48.66%  |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.587mb +0.00%  | 73.179ms +2.53%  | ±3.03% +990.92% |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@codecov
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.54%. Comparing base (3919df3) to head (34d3d11).
Report is 2 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #1405      +/-   ##
==========================================
+ Coverage   82.51%   82.54%   +0.02%     
==========================================
  Files         654      654              
  Lines       17538    17572      +34     
==========================================
+ Hits        14472    14505      +33     
- Misses       3066     3067       +1     
Components Coverage Δ
etl 85.83% <100.00%> (+0.06%) ⬆️
cli 85.17% <ø> (ø)
lib-array-dot 94.53% <ø> (ø)
lib-azure-sdk 62.56% <ø> (ø)
lib-doctrine-dbal-bulk 97.36% <ø> (ø)
lib-filesystem 76.23% <ø> (ø)
lib-parquet 84.57% <ø> (ø)
lib-parquet-viewer 82.02% <ø> (ø)
lib-rdsl 87.09% <ø> (ø)
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 77.10% <ø> (ø)
adapter-chartjs 86.45% <ø> (ø)
adapter-csv 89.49% <ø> (ø)
adapter-doctrine 90.14% <ø> (ø)
adapter-elasticsearch 97.19% <ø> (ø)
adapter-google-sheet 78.04% <ø> (ø)
adapter-http 59.15% <ø> (ø)
adapter-json 92.85% <ø> (ø)
adapter-logger 53.84% <ø> (ø)
adapter-meilisearch 97.75% <ø> (ø)
adapter-parquet 59.88% <ø> (ø)
adapter-text 84.44% <ø> (ø)
adapter-xml 83.15% <ø> (ø)

@norberttech norberttech merged commit e8cbd29 into flow-php:1.x Jan 26, 2025
25 checks passed
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.

Unify join and joinEach behavior

1 participant