Skip to content

[SPARK-55107][SQL] Log TID for scanned file in FileScanRDD#53876

Closed
turboFei wants to merge 1 commit into
apache:masterfrom
turboFei:filescan_tid
Closed

[SPARK-55107][SQL] Log TID for scanned file in FileScanRDD#53876
turboFei wants to merge 1 commit into
apache:masterfrom
turboFei:filescan_tid

Conversation

@turboFei
Copy link
Copy Markdown
Member

@turboFei turboFei commented Jan 20, 2026

What changes were proposed in this pull request?

Log TID for scanned file in FileScanRDD.

Why are the changes needed?

Similar with #46966.

User story:
When we encounter Parquet file corruption in production, we typically have the Task ID (TID) from the error message. However, executor logs contain interleaved log messages from multiple tasks running concurrently. Without TID in the file scan logs, we cannot easily determine which specific files were scanned by the failing task, making it difficult to narrow down which Parquet file is corrupted.

By logging the TID alongside the scanned file path, we can now filter executor logs by the failing task's TID and quickly identify the exact set of files that were processed by that task.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Review, as it only touches log contents.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions
Copy link
Copy Markdown

JIRA Issue Information

=== Improvement SPARK-55107 ===
Summary: Log TID for scanned file in FileScanRDD
Assignee: Cheng Pan
Status: Open
Affected: ["4.1.1"]


This comment was automatically generated by GitHub Actions

@github-actions github-actions Bot added the SQL label Jan 20, 2026
@turboFei turboFei closed this Jan 20, 2026
@turboFei turboFei reopened this Jan 20, 2026
@HyukjinKwon HyukjinKwon changed the title [SPARK-55107] Log TID for scanned file in FileScanRDD [SPARK-55107][SQL] Log TID for scanned file in FileScanRDD Jan 22, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions Bot added the Stale label May 2, 2026
@github-actions github-actions Bot closed this May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant