Skip to content

Two profiler improvements (two separate commits)#5807

Merged
mihaibudiu merged 2 commits intomainfrom
profiler
Mar 14, 2026
Merged

Two profiler improvements (two separate commits)#5807
mihaibudiu merged 2 commits intomainfrom
profiler

Conversation

@mihaibudiu
Copy link
Copy Markdown
Contributor

  • Move node name and operation into table header for profiler visualization
  • Add source position information to Window operators (they had no way to carry that information previously)

Describe Manual Test Plan

Here is a screenshot of the new display:

image

Copy link
Copy Markdown

@mythical-fred mythical-fred left a comment

Choose a reason for hiding this comment

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

LGTM. The abstract copy() on CalciteRelNode is correctly implemented in all subclasses, the WindowOperator constructor simplification (null function instead of NoExpression sentinel) is cleaner, and the position propagation in RewriteNow properly attaches source info to the synthesized window node. windowPositionTest is a good regression guard.

@Karakatiza666
Copy link
Copy Markdown
Contributor

As a low-effort impovement, if you add a few   before the checkbox and one before "show advanced" text the spacing should look nicer

Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
@mihaibudiu mihaibudiu enabled auto-merge March 14, 2026 00:22
@mihaibudiu mihaibudiu added this pull request to the merge queue Mar 14, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2026
Copy link
Copy Markdown

@mythical-fred mythical-fred left a comment

Choose a reason for hiding this comment

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

Two clean additions: the profiler tooltip now shows node id+operation in the table title (all impls correctly propagate the new list), and gets proper source position tracking with a backing test in . Still LGTM.

@mihaibudiu mihaibudiu added this pull request to the merge queue Mar 14, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 14, 2026
@mihaibudiu mihaibudiu added this pull request to the merge queue Mar 14, 2026
Merged via the queue into main with commit 6cce880 Mar 14, 2026
1 check passed
@mihaibudiu mihaibudiu deleted the profiler branch March 14, 2026 19:15
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.

4 participants