Skip to content

Cargo bench --bench sql_planner is failing #15753

@alamb

Description

@alamb

Describe the bug

I get an error when trying to run the sql planning benchmarkl:

here is the error:

thread 'main' panicked at datafusion/core/benches/sql_planner.rs:60:14:
called Result::unwrap() on an Err value: Context("type_coercion", Plan("Internal error: Expect TypeSignatureClass::Native(LogicalType(Native(String), String)) but received NativeType::Binary, DataType: BinaryView.\nThis was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker No function matches the given name and argument types 'levenshtein(BinaryView, BinaryView)'. You might need to add explicit type casts.\n\tCandidate functions:\n\tlevenshtein(Coercion(TypeSignatureClass::Native(LogicalType(Native(String), String))), Coercion(TypeSignatureClass::Native(LogicalType(Native(String), String))))"))
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

To Reproduce

cargo bench --profile=dev --bench sql_planner -- physical_plan_clickbench_all

Expected behavior

I expect the plan to complete without error

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions