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

feat: Print row index in explain and show_graph #17074

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

coastalwhite
Copy link
Collaborator

This PR improves the explanation when calling explain or show_graph on a scan. It now:

  • more neatly formats the paths,
  • displays the row_index if it is defined,
  • does not count the row_index as a column in the total_columns.

This PR improves the explanation when calling `explain` or `show_graph` on a scan. It now:

- more neatly formats the paths,
- displays the row_index if it is defined,
- does not count the row_index as a column in the total_columns.
@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Jun 19, 2024
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 15 lines in your changes missing coverage. Please review.

Project coverage is 80.86%. Comparing base (235ebee) to head (c27c440).
Report is 1 commits behind head on main.

Files Patch % Lines
crates/polars-plan/src/plans/ir/dot.rs 12.50% 14 Missing ⚠️
crates/polars-plan/src/plans/ir/format.rs 88.88% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #17074   +/-   ##
=======================================
  Coverage   80.86%   80.86%           
=======================================
  Files        1455     1455           
  Lines      191086   191090    +4     
  Branches     2723     2723           
=======================================
+ Hits       154519   154524    +5     
+ Misses      36063    36062    -1     
  Partials      504      504           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritchie46 ritchie46 merged commit 69b8440 into pola-rs:main Jun 20, 2024
22 checks passed
@coastalwhite coastalwhite deleted the row-idx-format branch June 20, 2024 12:30
@c-peters c-peters added the accepted Ready for implementation label Jun 24, 2024
@stinodego stinodego changed the title feat: print row index in explain + dot feat: Print row index in explain and show_graph Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants