Skip to content

fix: report Input column when native Iceberg scan is enabled or native shuffle is enabled - #5265

Open
hsiang-c wants to merge 4 commits into
apache:mainfrom
hsiang-c:fix_iceberg_scan_input_size
Open

fix: report Input column when native Iceberg scan is enabled or native shuffle is enabled#5265
hsiang-c wants to merge 4 commits into
apache:mainfrom
hsiang-c:fix_iceberg_scan_input_size

Conversation

@hsiang-c

@hsiang-c hsiang-c commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #5264

Rationale for this change

  • Spark's UI shows 0.0B for the Input column of the executor tab.

What changes are included in this PR?

CometIcebergNativeScanExec is a sibling of CometNativeScanExec under CometLeafExec. So the old check only recognizes the Parquet leaf, and NativeExecContext.hasScanInput was false for Iceberg (and CSV, and contributed Delta) scans.

How are these changes tested?

Unit tests

  • SELECT id+1 — scan fused under a native parent, parent's doExecuteColumnarexecuteColumnarWithContext
  • repartition(4, id) — scan inlined under the writer

Running the same job again with the patch, Input column show values now:

Screenshot 2026-08-04 at 1 29 49 PM

@hsiang-c
hsiang-c force-pushed the fix_iceberg_scan_input_size branch from 47de16e to e103ba1 Compare August 6, 2026 22:57
@hsiang-c
hsiang-c marked this pull request as ready for review August 6, 2026 23:01
@hsiang-c hsiang-c changed the title Populate executor's input metrics on fused operators fix: report Input column when native Iceberg scan is enabled or native shuffle is enabled Aug 6, 2026
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.

Reading Iceberg tables show 0.0B for the Input column on Spark's executor UI

2 participants