Skip to content

Execute LogicalPlans after building for TPCH Benchmarks #3273

@DaltonModlin

Description

@DaltonModlin

Describe the bug
Currently, running Q15 fails when attempting to build the second (SELECT) portion of the overall query.

The error is similar to the following:

called `Result::unwrap()` on an `Err` value: Plan("'datafusion.public.revenue0' not found")
thread 'tests::run_q15' panicked at 'called `Result::unwrap()` on an `Err` value: Plan("'datafusion.public.revenue0' not found")', /home/dalto/projects/arrow-datafusion/datafusion/sql/src/planner.rs:161:31

To Reproduce
Run test run_q15 in benchmarks/src/bin/tpch.rs

Expected behavior
I expect the test to fail due to either #3266 or #3267

Additional context
The table names just before failure are:

schema table names: [
    "customer",
    "supplier",
    "region",
    "part",
    "orders",
    "nation",
    "lineitem",
    "partsupp",
]

I'm unsure of where views populate this table, if anyone else has knowledge here that would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions