Skip to content

Icebird demo gives RangeError: invalid or out-of-range index for valid table and query #68

Description

@C-Loftus

Thanks for your great work on icebird!

I am trying to get the demo to work on a simple, small iceberg table hosted on gcs. However I am getting an error RangeError: invalid or out-of-range index . All the internal table metadata uses the storage.googleapis.com url not the gcs:// scheme in order to have s3 compatibility. My test data is public if you want to reproduce this.

Image

I am confused why this says there is an issue since my table can be queried no issue with duckdb like the following.

SELECT * FROM iceberg_scan(
    'gs://sal-test-bucket/sal/triples'
)
LIMIT 5;

In duckdb I can also run

SELECT COUNT(*) AS row_count
FROM iceberg_scan(
    'https://storage.googleapis.com/sal-test-bucket/sal/triples'
);

no issue and it returns above 500. So even if it is an issue with the default query causing an issue that propagates to future queries, I'd expect the original default limit of 500 to work.

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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