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

Improved efficiency of the Datasource.save function #59

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

JustinGrilli
Copy link
Collaborator

@JustinGrilli JustinGrilli commented Jul 18, 2023

Summary

The Datasource.save() function is highly inefficient at the moment.
It is causing our Airflow DAG using this function to timeout before it can complete.

Changes

  • Fixed the syntax of Datasource.save() which seems to improve performance

Tests

  • tableau_utilities -d -l online -n 'Tasks' -pn 'Official Datasources - Ops' -f 'Tasks.tdsx' --include_extract datasource --enforce_connection
    • Before and After this change, the time to update appears to be much faster

@JustinGrilli JustinGrilli merged commit d5b0698 into main Jul 18, 2023
1 check passed
@JustinGrilli JustinGrilli deleted the improve-tableau-file-save branch July 18, 2023 16:25
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.

1 participant