[
https://issues.apache.org/jira/browse/SPARK-56459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kent Yao reassigned SPARK-56459:
--------------------------------
Assignee: Kent Yao
> Fix MatchError in FileDataSourceV2.attachFilePath for fatal errors
> ------------------------------------------------------------------
>
> Key: SPARK-56459
> URL: https://issues.apache.org/jira/browse/SPARK-56459
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.2.0
> Reporter: Kent Yao
> Assignee: Kent Yao
> Priority: Major
> Labels: pull-request-available
>
> FileDataSourceV2.attachFilePath uses NonFatal pattern matching which does not
> match fatal errors like OutOfMemoryError. When OOM occurs during file reading
> (e.g., large Parquet row groups), the incomplete match causes a
> scala.MatchError that masks the original error.
> The fix adds a catch-all case to rethrow fatal errors directly, preserving
> the original error for proper JVM-level handling.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]