8000 Ensure concat optimize project does not raise by fjetter · Pull Request #11784 · dask/dask · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ensure concat optimize project does not raise #11784

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

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

fjetter
Copy link
Member
@fjetter fjetter commented Feb 25, 2025

Our way of subclassing isn't working well. The subclasses can not/should not define a different set of paramters since otherwise all logic on the base class will just break. In this case it can be provoked by adding a projection after an optimize call

Comment on lines 273 to 277
self.axis,
self.ignore_unknown_divisions,
self.interleave_partitions,
self._kwargs,
*frames,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ordering was a bit messed up here as well. I attempted to pass the arguments here using keywords but that doesn't work. Our paramters parsing logic isn't smart enough and doesn't capture the frames properly but instead raises a cryptic error message

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this positional thing is a hack to pass a variable number of expressions….

8000

Copy link
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

      9 files  ± 0        9 suites  ±0   3h 31m 3s ⏱️ -30s
 17 803 tests + 4   16 589 ✅ + 4   1 214 💤 ±0  0 ❌ ±0 
159 301 runs  +36  147 144 ✅ +34  12 157 💤 +2  0 ❌ ±0 

Results for commit 7871448. ± Comparison against base commit 06c1bb7.

@phofl phofl merged commit f1c2b8a into dask:main Feb 25, 2025
27 of 28 checks passed
@fjetter fjetter deleted the concat_optimize_project branch February 26, 2025 12:41
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 this pull request may close these issues.

2 participants
0