Skip to content

[datafusion-cli] shuffle.slt Intermittent CI failure for SELECT shuffle([1, 2, 3, 4, 5, NULL]) != [1, 2, 3, 4, 5, NULL]; #18476

@alamb

Description

@alamb

Describe the bug

A test in shuffle.slt fails intermittently but passes on rerun

To Reproduce

Here is an example:

https://github.com/apache/datafusion/actions/runs/19022758025/job/54320962649

     Running bin/sqllogictests.rs (target/ci/deps/sqllogictests-3c0c5297e9072553)
External error: 1 errors in file /__w/datafusion/datafusion/datafusion/sqllogictest/test_files/spark/array/shuffle.slt

1. query result mismatch:
[SQL] SELECT shuffle([1, 2, 3, 4, 5, NULL]) != [1, 2, 3, 4, 5, NULL];
[Diff] (-expected|+actual)
-   true
+   false
at /__w/datafusion/datafusion/datafusion/sqllogictest/test_files/spark/array/shuffle.slt:24

Expected behavior

Test should always pass

Additional context

I suspect the issue is that in very rare occasions the two calls to shuffle result in the exact same output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions