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

Hyukjin Kwon resolved SPARK-58030.
----------------------------------
    Fix Version/s: 3.5.9
                   4.3.0
                   4.1.3
                   4.0.4
                   4.2.1
         Assignee: Hyukjin Kwon
       Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/57097

> Make FileDataSourceV2FallBackSuite robust to extra listener events
> ------------------------------------------------------------------
>
>                 Key: SPARK-58030
>                 URL: https://issues.apache.org/jira/browse/SPARK-58030
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL, Tests
>    Affects Versions: 5.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.9, 4.3.0, 4.1.3, 4.0.4, 4.2.1
>
>
> The test 'Fallback Parquet V2 to V1' in FileDataSourceV2FallBackSuite 
> registers a QueryExecutionListener and asserts that exactly one 
> query-execution event landed on the listener bus (assert(commands.length == 
> 1)). An additional eager 'collect' callback on the analyzed 
> UnresolvedDataSource can race onto the bus, making the count 2 and failing 
> the test non-deterministically (observed on the JDK 21 macOS-26 Maven run, 
> sql#core - other tests).
> Filter the recorded events to the write 'command' entry and assert on that, 
> rather than requiring the listener bus to contain exactly one event.



--
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