Skip to content

Conversation

@norberttech
Copy link
Member

Change Log

Added

Fixed

  • Dates befor 1970-01-01 conversion to/from parquet
  • nix shell starship configuration loading

Changed

Removed

Deprecated

Security


Description

@norberttech norberttech linked an issue May 14, 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.887mb +0.01%  | 616.876ms +0.39% | ±3.53% +1785.00% |
| JsonExtractorBench    | bench_extract_10k | 1    | 3   | 5.473mb +0.00%  | 1.361s +2.07%    | ±1.24% +95.66%   |
| ParquetExtractorBench | bench_extract_10k | 1    | 3   | 86.484mb +0.00% | 921.054ms -0.07% | ±1.71% +355.57%  |
| TextExtractorBench    | bench_extract_10k | 1    | 3   | 4.611mb +0.01%  | 39.289ms +1.04%  | ±1.02% -30.86%   |
| XmlExtractorBench     | bench_extract_10k | 1    | 3   | 4.585mb +0.01%  | 603.147ms -1.61% | ±2.06% +21.60%   |
+-----------------------+-------------------+------+-----+-----------------+------------------+------------------+
Transformers
+---------------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark                       | subject                  | revs | its | mem_peak         | mode            | rstdev          |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench     | bench_transform_10k_rows | 1    | 3   | 127.408mb +0.00% | 69.706ms +0.35% | ±3.09% +291.62% |
| RenameEachEntryTransformerBench | bench_transform_10k_rows | 1    | 3   | 19.155mb +0.00%  | 72.444ms +0.49% | ±0.97% +377.73% |
+---------------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| benchmark          | subject        | revs | its | mem_peak         | mode             | rstdev          |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
| CSVLoaderBench     | bench_load_10k | 1    | 3   | 64.054mb +0.00%  | 104.758ms +0.73% | ±0.84% +2.44%   |
| JsonLoaderBench    | bench_load_10k | 1    | 3   | 84.086mb +0.00%  | 96.341ms -2.68%  | ±0.67% -36.13%  |
| ParquetLoaderBench | bench_load_10k | 1    | 3   | 166.568mb +0.00% | 20.744s +0.49%   | ±0.68% +208.26% |
| TextLoaderBench    | bench_load_10k | 1    | 3   | 18.143mb +0.00%  | 31.190ms +5.87%  | ±1.62% +32.93%  |
+--------------------+----------------+------+-----+------------------+------------------+-----------------+
Building Blocks
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark         | subject                    | revs | its | mem_peak         | mode             | rstdev          |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 44.055mb +0.00%  | 462.706ms +0.59% | ±1.82% +181.16% |
| TypeDetectorBench | bench_type_detector        | 1    | 3   | 11.864mb +0.00%  | 92.755ms -0.49%  | ±0.32% -68.83%  |
| RowsBench         | bench_chunk_10_on_10k      | 2    | 3   | 97.073mb +0.00%  | 3.957ms +26.00%  | ±2.70% +145.71% |
| RowsBench         | bench_diff_left_1k_on_10k  | 2    | 3   | 114.430mb +0.00% | 179.829ms -0.14% | ±0.50% -23.69%  |
| RowsBench         | bench_diff_right_1k_on_10k | 2    | 3   | 97.150mb +0.00%  | 18.226ms +0.44%  | ±0.67% +300.24% |
| RowsBench         | bench_drop_1k_on_10k       | 2    | 3   | 97.948mb +0.00%  | 1.398ms -1.04%   | ±1.36% +39.63%  |
| RowsBench         | bench_drop_right_1k_on_10k | 2    | 3   | 97.948mb +0.00%  | 1.438ms +4.05%   | ±1.46% +372.62% |
| RowsBench         | bench_entries_on_10k       | 2    | 3   | 96.109mb +0.00%  | 4.082ms -1.44%   | ±1.47% +243.46% |
| RowsBench         | bench_filter_on_10k        | 2    | 3   | 96.638mb +0.00%  | 15.993ms -0.96%  | ±1.28% +694.63% |
| RowsBench         | bench_find_on_10k          | 2    | 3   | 96.638mb +0.00%  | 16.312ms -0.48%  | ±2.84% +98.96%  |
| RowsBench         | bench_find_one_on_10k      | 10   | 3   | 95.329mb +0.00%  | 1.794μs -0.67%   | ±2.67% +3.77%   |
| RowsBench         | bench_first_on_10k         | 10   | 3   | 95.329mb +0.00%  | 0.300μs 0.00%    | ±0.00% 0.00%    |
| RowsBench         | bench_flat_map_on_1k       | 2    | 3   | 104.547mb +0.00% | 14.701ms +0.73%  | ±1.00% -10.56%  |
| RowsBench         | bench_map_on_10k           | 2    | 3   | 134.614mb +0.00% | 70.588ms -2.40%  | ±0.78% -15.80%  |
| RowsBench         | bench_merge_1k_on_10k      | 2    | 3   | 97.158mb +0.00%  | 1.391ms +5.33%   | ±1.79% -10.56%  |
| RowsBench         | bench_partition_by_on_10k  | 2    | 3   | 100.529mb +0.00% | 62.636ms +2.32%  | ±0.17% -73.27%  |
| RowsBench         | bench_remove_on_10k        | 2    | 3   | 98.210mb +0.00%  | 4.017ms +9.86%   | ±2.04% +241.27% |
| RowsBench         | bench_sort_asc_on_1k       | 2    | 3   | 95.692mb +0.00%  | 40.461ms +2.39%  | ±1.28% +40.17%  |
| RowsBench         | bench_sort_by_on_1k        | 2    | 3   | 95.692mb +0.00%  | 39.635ms -1.07%  | ±1.80% +58.57%  |
| RowsBench         | bench_sort_desc_on_1k      | 2    | 3   | 95.692mb +0.00%  | 40.660ms +3.90%  | ±1.42% +122.06% |
| RowsBench         | bench_sort_entries_on_1k   | 2    | 3   | 97.770mb +0.00%  | 8.367ms +1.54%   | ±1.24% +39.04%  |
| RowsBench         | bench_sort_on_1k           | 2    | 3   | 95.520mb +0.00%  | 29.462ms -2.72%  | ±1.06% -49.58%  |
| RowsBench         | bench_take_1k_on_10k       | 10   | 3   | 95.329mb +0.00%  | 14.157μs +8.59%  | ±2.35% -17.05%  |
| RowsBench         | bench_take_right_1k_on_10k | 10   | 3   | 95.329mb +0.00%  | 16.415μs +6.68%  | ±3.26% +430.50% |
| RowsBench         | bench_unique_on_1k         | 2    | 3   | 114.431mb +0.00% | 184.348ms -0.98% | ±0.49% -45.63%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 105.520mb +0.00% | 734.149ms +0.88% | ±0.78% +71.48%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 55.030mb +0.00%  | 359.123ms -3.35% | ±0.40% -67.23%  |
| EntryFactoryBench | bench_entry_factory        | 1    | 3   | 14.808mb +0.00%  | 78.351ms +1.84%  | ±0.77% -39.21%  |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+

@norberttech norberttech merged commit 465f09f into 1.x May 14, 2025
20 checks passed
@norberttech norberttech deleted the 1646-int32-date-converter-does-not-handle-negative-value branch May 14, 2025 10:57
@codecov
Copy link

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.27%. Comparing base (0f97111) to head (ff930b7).
Report is 4 commits behind head on 1.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x    #1647   +/-   ##
=======================================
  Coverage   83.27%   83.27%           
=======================================
  Files         707      707           
  Lines       19136    19139    +3     
=======================================
+ Hits        15935    15938    +3     
  Misses       3201     3201           
Components Coverage Δ
etl 86.33% <ø> (ø)
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% <100.00%> (+0.01%) ⬆️
lib-parquet-viewer 82.02% <ø> (ø)
lib-snappy 91.16% <ø> (ø)
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.

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.

int32 date converter does not handle negative value

2 participants