Skip to content

Feat: Use table clones instead of temp tables in dev environments for engines that support this#1364

Merged
izeigerman merged 2 commits intomainfrom
feat-support-table-clonining-in-dev-envs
Aug 30, 2023
Merged

Feat: Use table clones instead of temp tables in dev environments for engines that support this#1364
izeigerman merged 2 commits intomainfrom
feat-support-table-clonining-in-dev-envs

Conversation

@izeigerman
Copy link
Contributor

No description provided.

@eakmanrq
Copy link
Contributor

Can you include Databricks in this? We assume currently in the Databricks engine is using Delta and therefore supports clones. Make sure to do a shallow clone.

@izeigerman izeigerman force-pushed the feat-support-table-clonining-in-dev-envs branch from f5415ca to fc73797 Compare August 30, 2023 20:53
@izeigerman
Copy link
Contributor Author

Good point, @eakmanrq , added

Copy link
Contributor

@tobymao tobymao left a comment

Choose a reason for hiding this comment

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

that was easier than i thought?

@izeigerman
Copy link
Contributor Author

@tobymao, yeah, that's why Ryan and I didn't anticipate any complexity here.

@eakmanrq
Copy link
Contributor

@izeigerman you are missing the SHALLOW part for Databricks

@izeigerman
Copy link
Contributor Author

@eakmanrq fixed databricks support. Please revisit

@izeigerman izeigerman force-pushed the feat-support-table-clonining-in-dev-envs branch from a41e708 to e71749b Compare August 30, 2023 21:29
@izeigerman izeigerman merged commit 9c9d430 into main Aug 30, 2023
@izeigerman izeigerman deleted the feat-support-table-clonining-in-dev-envs branch August 30, 2023 21:56
**kwargs: t.Any,
) -> None:
clone_kwargs = clone_kwargs or {}
clone_kwargs["shallow"] = True
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to enforce shallow or only set to True if not in kwargs?

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