Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daft.read_deltalake returns a table when an invalid value for version is provided #3520

Open
kkovary opened this issue Dec 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working p1 Important to tackle soon, but preemptable by p0

Comments

@kkovary
Copy link

kkovary commented Dec 9, 2024

Describe the bug

When running something like the code below, where version is a value that doesn't exist, a table is returned instead of raising a TableNotFoundError (however this exception is raised for negative ints).

unity = UnityCatalog(
    endpoint=ENDPOINT,
    token=os.getenv("DATABRICKS_TOKEN")
)
table = unity.load_table(TABLE_PATH)
df = daft.read_deltalake(table, version=1_000)

To Reproduce

No response

Expected behavior

No response

Component(s)

Other

Additional context

No response

@kkovary kkovary added bug Something isn't working needs triage labels Dec 9, 2024
@kevinzwang
Copy link
Member

Thanks for reporting this @kkovary! Will take a look

@kevinzwang kevinzwang self-assigned this Dec 9, 2024
@kevinzwang kevinzwang added p1 Important to tackle soon, but preemptable by p0 and removed needs triage labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p1 Important to tackle soon, but preemptable by p0
Projects
None yet
Development

No branches or pull requests

2 participants