Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Conversation

@dlawin
Copy link
Contributor

@dlawin dlawin commented Feb 2, 2023

Databricks supports a 3-part identifier in queries (catalog.schema.table)

@dlawin dlawin requested a review from erezsh February 2, 2023 00:31
@dlawin dlawin self-assigned this Feb 2, 2023
@dlawin
Copy link
Contributor Author

dlawin commented Feb 2, 2023

Wasn't sure of the best way to test this since databricks tests are limited at the moment. But you can see the query_table_schema returning info for each style

Screen Shot 2023-02-01 at 6 01 55 PM
Screen Shot 2023-02-01 at 5 59 20 PM
Screen Shot 2023-02-01 at 5 58 50 PM

@erezsh
Copy link
Contributor

erezsh commented Feb 2, 2023

Looks good.

But the test in the screenshot isn't included in the PR.

@erezsh
Copy link
Contributor

erezsh commented Feb 2, 2023

I think a better test would be to create and the drop a table, 3 times, once for each possible length, and make sure there is no error.

@dlawin
Copy link
Contributor Author

dlawin commented Feb 6, 2023

I think a better test would be to create and the drop a table, 3 times, once for each possible length, and make sure there is no error.

Manually? We don't include Databricks at all in automated tests currently

@erezsh erezsh merged commit 2fe17a1 into master Feb 6, 2023
@erezsh
Copy link
Contributor

erezsh commented Feb 6, 2023

That's fine. LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants