Skip to content

benchmark q17 produces incorrect result #4026

@andygrove

Description

@andygrove

Describe the bug

running 1 test
Running benchmarks with the following options: DataFusionBenchmarkOpt { query: 17, debug: false, iterations: 1, partitions: 2, batch_size: 8192, path: "/home/andy/git/apache/arrow-datafusion/benchmarks/data", file_format: "tbl", mem_table: false, output_path: None, disable_statistics: false }
Query 17 iteration 0 took 10768.3 ms and returned 1 rows
Query 17 avg time: 10768.25 ms
expected_fields: [Field { name: "avg_yearly", data_type: Decimal128(38, 2), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]
transformed_fields: [Field { name: "avg_yearly", data_type: Decimal128(38, 2), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]
thread 'tests::verify_q17' panicked at 'assertion failed: `(left == right)`
  left: `["348406.02"]`,
 right: `["NULL"]`', benchmarks/src/bin/tpch.rs:1008:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test tests::verify_q17 ... FAILED

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions