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

Add 2 new TableTypes #632

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sandormatyas
Copy link

@sandormatyas sandormatyas commented Apr 29, 2024

Changes

(rebased, expanded #476)

Adds two new values to TableType Enum:

Unfortunately, these are not mentioned by the API documentation for the table_type field: https://docs.databricks.com/api/workspace/tables/list#tables-table_type

Here's an API call that fetches some tables, one with type MANAGED_SHALLOW_CLONE:
image

Here's an API call that fetches some tables, one with type FOREIGN:
image

Update:
Online tables also come with type FOREIGN, but different data_source_format:
image

Tests

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

Signed-off-by: Matyas Sandor <sandormatyas7@gmail.com>
Signed-off-by: Matyas Sandor <sandormatyas7@gmail.com>
@sandormatyas
Copy link
Author

Hi @mgyucht, sorry for tagging you, but I was wondering if I could get some eyes on this or tips on how I could proceed?

We are fetching the table metadata using the sdk and we have multiple None-s now for table type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant