Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left- vs right-multiplying array by Dask scalar #528

Open
alexander-held opened this issue Jul 29, 2024 · 0 comments · May be fixed by #529
Open

Left- vs right-multiplying array by Dask scalar #528

alexander-held opened this issue Jul 29, 2024 · 0 comments · May be fixed by #529

Comments

@alexander-held
Copy link

The following raises

NotImplementedError: no overload for ak.to_layout with arguments (dask.awkward<from-awkward, npartitions=1>,)

when attempting to multiply the array by a scalar from the left:

import awkward as ak
import dask_awkward as dak

arr = dak.from_awkward(ak.Array([1,3,4]), npartitions=1)
dak.sum(arr, axis=-1) * arr

Doing the same thing from the right works:

arr * dak.sum(arr, axis=-1)

I'm using awkward 2.6.6 and dask_awkward 2024.6.0.

@martindurant martindurant linked a pull request Jul 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant