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

Fix: use sets to prevent unecessary truncate calls #481

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Conversation

z3z1ma
Copy link
Collaborator

@z3z1ma z3z1ma commented Jul 9, 2023

FYI, there seems to be an unnecessary extra call to initialize storage.

EDIT: I suppose its because the 2nd call does the truncate, but I think its an extra api call to check if dataset exists.

@netlify
Copy link

netlify bot commented Jul 9, 2023

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit a8ba7dc
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/64aad778e10fbb0008f962fc

Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

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

looks good! thx for the fix

@rudolfix rudolfix merged commit 0a56bc6 into devel Jul 10, 2023
@rudolfix rudolfix deleted the z3z1ma-patch-1 branch July 10, 2023 17:39
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.

2 participants