Skip to content

1.7.0 Compat#499

Merged
benc-db merged 9 commits intomainfrom
1.7.0
Nov 9, 2023
Merged

1.7.0 Compat#499
benc-db merged 9 commits intomainfrom
1.7.0

Conversation

@benc-db
Copy link
Copy Markdown
Collaborator

@benc-db benc-db commented Nov 8, 2023

Description

This PR includes
a.) change to get_catalog to account for changes that dbt made between 1.7.0rc1 and 1.7.0
b.) a fix for a PR I merged earlier that removed casts from seeding. Turns out that with hive and parquet, the cast is necessary for numeric types; the tests passed initially because the old version of the copy_into tests didn't use seeds, and nowhere else in our project do we test parquet and seeds.
c.) a modification to our external location integration variable because something has changed (I think in the dbr) so that its extra sensitive to running in the top level of a container

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

susodapop
susodapop previously approved these changes Nov 8, 2023
Copy link
Copy Markdown

@susodapop susodapop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@mikealfare mikealfare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some comments of a few things to discuss. I'll look through the full project, specifically for the Adapter and Relation classes, to see if I find anything else.


def get_catalog(
self, manifest: Manifest, selected_nodes: Optional[Set] = None
self, manifest: Manifest, selected_nodes: Optional[Set[Any]] = None

This comment was marked as resolved.

This comment was marked as resolved.

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.

4 participants