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

fix(rust): describe / explain streaming plan #16771

Merged

Conversation

coastalwhite
Copy link
Collaborator

This PR adds back the possibility to describe / explain streaming engine plans. As these plans are not stored in the main IRPlan, there need to be special cases for that in each describe format.

This specifically addresses it for:

  • Base format: Adds streaming header, prints the underlying plan
  • Tree format: Adds streaming header into top node, prints the underlying plan
  • Dot format: Prints the underlying plan

Fixes #16762

@github-actions github-actions bot added fix Bug fix rust Related to Rust Polars labels Jun 6, 2024
@coastalwhite coastalwhite force-pushed the fix-16762-streaming-explain branch 2 times, most recently from 983e92e to c69ae0a Compare June 6, 2024 11:44
Copy link

codspeed-hq bot commented Jun 6, 2024

CodSpeed Performance Report

Merging #16771 will not alter performance

Comparing coastalwhite:fix-16762-streaming-explain (a847c40) with main (2e633dc)

Summary

✅ 37 untouched benchmarks

@ritchie46
Copy link
Member

Ahg, there seems to be a test failure

This PR adds back the possibility to `describe` / `explain` streaming engine
plans. As these plans are not stored in the main `IRPlan`, there need to be
special cases for that in each `describe` format.

This specifically addresses it for:
- Base format: Adds streaming header, prints the underlying plan
- Tree format: Adds streaming header into top node, prints the underlying plan
- Dot format: Prints the underlying plan

Fixes pola-rs#16762
@coastalwhite coastalwhite merged commit 68e4af5 into pola-rs:main Jun 7, 2024
20 of 21 checks passed
@coastalwhite coastalwhite deleted the fix-16762-streaming-explain branch June 7, 2024 11:28
Wouittone pushed a commit to Wouittone/polars that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

explain(streaming=True) isn't showing correct plan
2 participants