Skip to content

Running Clickbench query 18 fails with "failed to fill whole buffer" error #19425

@alamb

Description

@alamb

Describe the bug

Even after the fix for

I am trying to run the clickbench benchmark with limited memory and I can't seem to get it to work.

Specifically I would like to run q18

SELECT "UserID", extract(minute FROM to_timestamp_seconds("EventTime")) AS m, "SearchPhrase", COUNT(*) FROM hits GROUP BY "UserID", m, "SearchPhrase" ORDER BY COUNT(*) DESC LIMIT 10;

With only 1G of RAM

To Reproduce

Run this command

cargo run --bin datafusion-cli -- -m 1G -c "SELECT \"UserID\", extract(minute FROM to_timestamp_seconds(\"EventTime\")) AS m, \"SearchPhrase\", COUNT(*) FROM '/Users/andrewlamb/Software/datafusion/benchmarks/data/hits_partitioned' GROUP BY \"UserID\", m, \"SearchPhrase\" ORDER BY COUNT(*) DESC LIMIT 10;"

It fails with this error:
Arrow error: Io error: failed to fill whole buffer

Expected behavior

I expect the command to succeeded

Additional context

No response

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