Skip to content

DataFusion benchmark panicked: failed to cast '2013-07-01' to UInt16 #21497

@xiedeyantu

Description

@xiedeyantu

Describe the bug

Benchmarking physical_plan_clickbench_q34: Analyzing
Benchmarking physical_plan_clickbench_q35
Benchmarking physical_plan_clickbench_q35: Warming up for 3.0000 s

Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 7.4s, enable flat sampling, or reduce sample count to 50.
Benchmarking physical_plan_clickbench_q35: Collecting 100 samples in estimated 7.4015 s (5050 iterations)
Benchmarking physical_plan_clickbench_q35: Analyzing
Benchmarking physical_plan_clickbench_q36
Benchmarking physical_plan_clickbench_q36: Warming up for 3.0000 s

Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 9.1s, enable flat sampling, or reduce sample count to 50.
Benchmarking physical_plan_clickbench_q36: Collecting 100 samples in estimated 9.0547 s (5050 iterations)
Benchmarking physical_plan_clickbench_q36: Analyzing
Benchmarking physical_plan_clickbench_q37
Benchmarking physical_plan_clickbench_q37: Warming up for 3.0000 s

thread 'main' (37232) panicked at datafusion/core/benches/sql_planner.rs:57:14:
called `Result::unwrap()` on an `Err` value: Context("Optimizer rule 'simplify_expressions' failed", ArrowError(CastError("Cannot cast string '2013-07-01' to value of UInt16 type"), Some("")))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: bench failed, to rerun pass `-p datafusion --bench sql_planner`

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions