Documentation is available here:
https://flow-php.com/documentation/components/libs/types/
Types are going to become a part of release 0.17.0 on Monday, May 26th
Problem solver, software architect, also working as a Data Witcher โ๏ธ, hunting and killing ๐ง and ๐ชณin data processing pipelines! Creator of https://flow-php.com
Documentation is available here:
https://flow-php.com/documentation/components/libs/types/
Types are going to become a part of release 0.17.0 on Monday, May 26th
Flow #PHP - Data Processing Framework just received a new, standalone component.
Let me introduce flow-php/types ๐
Types, is a small library crafted in a spirit of full synergy with static analysis tools that helps with types assertions and types narrowing
Flow #PHP 0.16.0 was just released!
In this released we focused most of our efforts on cleaning and stabilizing Data Frame API part responsible for renaming columns.
@stloyd was the contributor who provided needed adjustments to the codebase ๐
Right now I'm removing complexity introduced into FloatType some time ago with precision parameter that created all sort of edge cases related to rounding values.
I'm still working on redesigned types system for Flow #PHP.
You can check my progress here: https://github.com/flow-php/flow/issues/1628#issuecomment-2868711747
I'm mostly focused on simplifying types and turning them into fully standalone package that helps with types assertions and coercions
If you find my projects useful, please consider sponsoring them at https://flow-php.com/sponsor/
Even the smallest donations makes huge difference allowing me to deliver the best free data processing framework for #PHP
I'm also available to hire for consulting/coding ๐
Flow Type System is strongly inspired by Parquet where next to physical we also have logical types like:
- Map - key value collection
- Structure - php associative arrays
- List - list of elements of a given type
The upcoming release of Flow #PHP introduces a completely redesigned API for manipulating column names.
Thanks to @stloyd, DataFrame now features only two methods for renaming columns: rename and renameEach. ๐
One of the main features of Flow #PHP is strictly typed DataFrame that provides features like Schema Validation and allows for straightforward data migrations between different storages.
I'm now trying to fully align Flow Type system with PHPStan
But Flow Types should provide that support as they are used not only by the DataFrame but also inside the entire Flow Framework.
If you are interested in my struggle or would like to share some ideas, please check https://github.com/flow-php/flow/issues/1628
The challenge is that PHP is very flexible when it comes to types while data storages are usually not (mostly because of indexing and compression).
Because of that Flow DataFrame can't support types like `associative array` or `union type`.
Version 3.0 comes with a new Executor interface that is implemented by Asynchronous and Synchronous Executors allowing to quickly change the strategy based on environment/parameter.
On top of that, AsynchronousExecutor can now run commands in batches, previously all commands from the command pool were executed at once.
Flow #PHP still missing a key feature: parallel processing.
I'm delving into research to tackle this.
I've started a conversation on our Discord server! (link below)
Dive in to discover how I plan to crush that goal, or just hang out and chat about potential challenges and fresh ideas.
Discord: https://discord.gg/5dNXfQyACW
Parallel Processing Discussion: https://discord.com/channels/1263821077558333451/1367443716893315082
Version 0.15.0 is here! ๐
Heads up: There's a BC breakโschema-related classes have shifted to a new namespace. Dive into our upgrade docs for the scoop.
Spotlight on this release: Exciting updates for Dbal and Google Sheets Adapters.
Get the full rundown: https://github.com/flow-php/flow/releases/tag/0.15.0
Diving into Flow #PHP with a fresh Doctrine DBAL Extractor! Say goodbye to sluggish limit/offset and hello to speedy key-set pagination. ๐
Mark your calendars for Mondayโs release!
Check it out: https://github.com/flow-php/flow/pull/1603
Plus, enjoy smoother schema validation and bug fixes for merging schema definitions with varying float precisions.
Discover all the details: https://github.com/flow-php/flow/releases/tag/0.14.0
Flow #PHP 0.14.0 is out now! ๐ Dive into enhanced safety with all math operations now powered by https://github.com/brick/math, ensuring secure float handling.