Repository navigation
String predicates and cast - #2743
Merged
Merged
Conversation
- Backend::startsWith(), endsWith() and contains(), in PHP and Rust - cast to string returns string columns as they are - cast uuid to string reads the raw bytes - cast to string evaluates its child once - broadcast limit docblock names the in-memory size - README without the libs.tech badge
- Rebuild takes a memory share, a rebuilt BucketingConfig divides its limit by it - ExternalSort::merge() merges sorted streams under a budget, in groups when they do not fit - an ordered Distribution carries the sort configuration - default memory limit 4 GiB without a PHP memory_limit - arrow-ext counts its allocated bytes, flow_php adds them to RustBackend::allocatedBytes()
- ExternalSort::merge() counts the sort keys and gives the streams half the budget - Backend::releaseFreedMemory(), called after every spill of a sort (malloc_trim on Linux) - a spilling group by assigns its earlier groups to buckets in chunks and spills at twice its growth - merged sort runs are numbered in the order they are made - group by spill tests script their memory
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 1.x #2743 +/- ##
=========================================
Coverage 91.07% 91.08%
- Complexity 32215 32248 +33
=========================================
Files 2238 2238
Lines 93077 93175 +98
=========================================
+ Hits 84768 84865 +97
- Misses 8309 8310 +1 🚀 New features to boost your workflow:
|
- regenerated API docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Log
Added
flow-php/etl-Backend::startsWith(),endsWith()andcontains()string match kernelsflow-php/flow-php-ext- native string match kernelsflow-php/etl-ExternalSort::merge()merges sorted streams under a memory budgetflow-php/etl-Backend::releaseFreedMemory(), called after every spill of a sortflow-php/arrow-ext-Flow\Arrow\allocated_bytes()Fixed
flow-php/etl- a cast to string evaluated its child twiceflow-php/etl- a spilling group by held 2.5 times its memory limitflow-php/etl- merged sort runs all got index 0Changed
flow-php/etl- a cast to string returns string columns as they are and reads uuid bytesflow-php/etl- a memory limit is shared by the workers of a runflow-php/etl- default memory limit is 4 GiB without a PHPmemory_limitflow-php/flow-php-ext-RustBackend::allocatedBytes()counts the arrow extension's bytesRemoved
Deprecated
Security