dask-contrib / dask-awkward

Native Dask collection for awkward arrays, and the library to use it.
https://dask-awkward.readthedocs.io
BSD 3-Clause "New" or "Revised" License
61 stars 19 forks source link

possibility to configure/replace optimizations with context manager? #548

Open lgray opened 1 month ago

lgray commented 1 month ago

It would be nice to have a configuration option for optimizations as in dask-array and dask-delayed: https://docs.dask.org/en/stable/optimize.html#customizing-optimization

martindurant commented 1 month ago

We do: https://github.com/dask-contrib/dask-awkward/blob/main/src/dask_awkward/awkward.yaml#L16 . Obviously there could be more.

lgray commented 1 month ago

Yes, in particular the ability to completely override the optimizations with a given function would be great. :-)