Registry Mirror
Skip to content

Cargo bench --bench sql_planner is failing #15753

Closed

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

Activity

  1. added
    bug
    on Apr 17, 2025
  2. chenkovsky commented on Apr 18, 2025

    @chenkovsky
    Contributor

    take

  3. changed the title [-]sql planning benchmark fails with internal type coercion error[/-] [+]`Cargo bench --bench sql_planner` is failing[/+] on Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions