Skip to content

Intermittent limit.slt failure #9450

@alamb

Description

@alamb

Describe the bug

When I run limit.slt locally it fails like this:

cargo test --test sqllogictests -- limit
(venv) andrewlamb@Andrews-MacBook-Pro:~/Software/arrow-datafusion$ cargo test --test sqllogictests -- limit
...
    Finished test [unoptimized + debuginfo] target(s) in 15.35s
     Running bin/sqllogictests.rs (target/debug/deps/sqllogictests-5fa91f6f3736c5fa)
Running "limit.slt"
External error: query result mismatch:
[SQL] EXPLAIN SELECT DISTINCT i FROM t1000;
[Diff] (-expected|+actual)
    logical_plan
    Aggregate: groupBy=[[t1000.i]], aggr=[[]]
    --TableScan: t1000 projection=[i]
    physical_plan
    AggregateExec: mode=FinalPartitioned, gby=[i@0 as i], aggr=[]
    --CoalesceBatchesExec: target_batch_size=8192
    ----RepartitionExec: partitioning=Hash([i@0], 4), input_partitions=4
    ------AggregateExec: mode=Partial, gby=[i@0 as i], aggr=[]
-   --------MemoryExec: partitions=4, partition_sizes=[1, 2, 1, 1]
+   --------MemoryExec: partitions=4, partition_sizes=[1, 1, 2, 1]
at test_files/limit.slt:392

Error: Execution("1 failures")
error: test failed, to rerun pass `-p datafusion-sqllogictest --test sqllogictests`

Caused by:
  process didn't exit successfully: `/Users/andrewlamb/Software/arrow-datafusion/target/debug/deps/sqllogictests-5fa91f6f3736c5fa limit` (exit status: 1)

@huaxingao also saw this failure on #9411 (comment)

To Reproduce

Here is an example failure on CI showing the same failure mode: https://github.com/apache/arrow-datafusion/actions/runs/8133918181/job/22226135558?pr=9411

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions