Skip to content

chore(devtools): delete show_post_asap_ir, rename show_pre_asap_ir to show_logical_dag - #624

Draft
zzylol wants to merge 1 commit into
stack/cleanup-3-legacy-costfrom
stack/cleanup-4-ir-bins
Draft

zzylol wants to merge 1 commit into
stack/cleanup-3-legacy-costfrom
stack/cleanup-4-ir-bins

Conversation

@zzylol

@zzylol zzylol commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Stack: #574 → #620 → #618 → #621 → #627 → #625 → #628 → #632 → #634 → #616 → #617 → #622 → #624 → #629 → #630 → #631 → #633 → #635 → #636 → #637

Problem

show_post_asap_ir printed Post-ASAP candidates in legacy cost-model order (Q51). stage_pipeline shows how the planner actually plans a query. show_pre_asap_ir prints the logical DAG a front end produces, and the new name says that.

Changes

  • Delete crates/devtools/src/bin/show_post_asap_ir.rs.
  • Rename show_pre_asap_ir to show_logical_dag. Its header now points to stage_pipeline for planning instead of to show_post_asap_ir.
  • docs/user_guide_docs/run-a-query.md: drop the show_post_asap_ir table row, the "Inspect Post-ASAP IR candidates" section and the show_post_asap_ir mentions; use show_logical_dag throughout. docs/develop_docs/library-api.md: update the CLI example link.
  • crates/devtools/Cargo.toml: dependency comment names the current bins.

Stacked on #622.

Test plan

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace: 1612 passed, 0 failed, 13 ignored (after the rebase on main d4869a7; was 1609 passed, 13 ignored)

🤖 Generated with Claude Code

@zzylol
zzylol force-pushed the stack/cleanup-4-ir-bins branch from 45fde63 to 4761c3e Compare October 5, 2026 03:07
@zzylol
zzylol force-pushed the stack/cleanup-3-legacy-cost branch from 7e08c9d to 281858b Compare October 5, 2026 03:07
@zzylol
zzylol force-pushed the stack/cleanup-3-legacy-cost branch from 281858b to 84e9cfd Compare October 5, 2026 06:21
@zzylol
zzylol force-pushed the stack/cleanup-4-ir-bins branch from 4761c3e to 0ba3310 Compare October 5, 2026 06:21
@zzylol
zzylol force-pushed the stack/cleanup-3-legacy-cost branch from 84e9cfd to cb02df4 Compare October 8, 2026 16:47
@zzylol
zzylol force-pushed the stack/cleanup-4-ir-bins branch 2 times, most recently from c47d1f1 to 52190e0 Compare October 10, 2026 14:32
@zzylol
zzylol force-pushed the stack/cleanup-3-legacy-cost branch from cb02df4 to 27c60aa Compare October 10, 2026 14:32
show_post_asap_ir ranked candidates with the legacy cost model;
stage_pipeline shows how the planner plans a query. show_pre_asap_ir
becomes show_logical_dag, the name of what it prints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zzylol
zzylol force-pushed the stack/cleanup-4-ir-bins branch from 52190e0 to e23bb15 Compare October 11, 2026 17:11
@zzylol
zzylol force-pushed the stack/cleanup-3-legacy-cost branch from 27c60aa to c0ce64b Compare October 11, 2026 17:11
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.

1 participant