Skip to content

Querying non-existent tables produces confusing error #139

@ceesem

Description

@ceesem
from caveclient import CAVEclient

datastack_name = 'minnie65_public'
client = CAVEclient(datastack_name)
client.materialize.get_table_metadata("some_nonsense_table_that_doesn't_exist")

should fail, but via an error that says the table does not exist. Instead, it fails with HTTPError: 500 Server Error: 'NoneType' object has no attribute 'pop' for url: https://minnie.microns-daf.com/materialize/api/v3/datastack/minnie65_public/version/795/table/some_nonsense_table_that_doesn't_exist/metadata. Various operations on table names (metadata, query table, etc) should validate that a table with that name exists and error in a clear way if not.

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