Skip to content

INTERNAL Error: Vector::Reference used on vector of different type #15584

Closed

Description

@suyZhong

What happens?

The below test case triggered an internal error in DuckDB.

To Reproduce

CREATE TABLE t0(c0 INT , c1 VARCHAR);
CREATE TABLE t1( c1 INT);
INSERT INTO t0 VALUES(4, 3);
INSERT INTO t1 VALUES(2);

SELECT * FROM t1, t0 INNER JOIN (SELECT t1.c1 AS col0) ON true;
-- INTERNAL Error:
-- Vector::Reference used on vector of different type

OS:

Ubuntu 22.04

DuckDB Version:

v1.1.4-dev4060 f99785b

DuckDB Client:

CLI

Hardware:

No response

Full Name:

Suyang Zhong

Affiliation:

NUS

What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.

I have tested with a source build

Did you include all relevant data sets for reproducing the issue?

Not applicable - the reproduction does not require a data set

Did you include all code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

  • Yes, I have

Activity

  1. added 2 commits that reference this issue on Jan 28, 2025
    ac5f082
    3ba1344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions