[ 
https://issues.apache.org/jira/browse/SPARK-56459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kent Yao resolved SPARK-56459.
------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

Issue resolved by pull request 55324
[https://github.com/apache/spark/pull/55324]

> 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
>             Fix For: 4.2.0
>
>
> 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]

Reply via email to