Skip to content

Query fails when performed on data converted from SQLite, works fine on attached database #118

@bynomial

Description

@bynomial

Steps to recreate (using CLI tested on v1.1.1 af39bd0dcf Linux aarch64)

  1. open dbsample.sqlite using duckdb
    duckdb sqlite:dbsample.sqlite
  2. perform query: .read test.sql (correctly returns result set of 6 rows)
  3. make copy of database
    ATTACH 'target.db' AS ddb;
    COPY FROM DATABASE dbsample to ddb;
  4. open database copy
    .open target.db
  5. perform query again: .read test.sql (results in error)
    INTERNAL Error: Attempted to access index 0 within vector of size 0
    This error signals an assertion failure within DuckDB. This usually occurs due to unexpected conditions or errors in the 
    program's logic.
    For more information, see https://duckdb.org/docs/dev/internal_errors
    

Archive.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions