Skip to content

TableNotFoundError not thrown when you pass a version #2056

Open
@ion-elgreco

Description

@ion-elgreco

Environment

Delta-rs version: 0.15.1

Binding: python


Bug

What happened:
When you try to instantiate a non-existing table with:

dt = DeltaTable('test', version=0)

You get this error: DeltaError: Invalid table version: 0

What you expected to happen:
It should however raise a TableNotFoundError,

TableNotFoundError: No snapshot or version X found, perhaps /home/ion/<redacted>/test/ is an empty dir?

Metadata

Metadata

Assignees

No one assigned

    Labels

    binding/pythonIssues for the Python packagebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions