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

0.0.41-hotfix #200

Merged
merged 2 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions fastetl/custom_functions/fast_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ def copy_db_to_db(
Return:
None
"""
if debug_mode:
logging.info("Debug mode on")

# validate connections
source = SourceConnection(source)
Expand Down Expand Up @@ -525,6 +527,9 @@ def sync_db_2_db(
None
"""

if debug_mode:
logging.info("Debug mode on")

def _divide_chunks(l, n):
"""Split list into a new list with n lists"""
# looping till length l
Expand Down
2 changes: 2 additions & 0 deletions fastetl/hooks/db_to_db_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def full_copy(
destination_truncate=destination_truncate,
chunksize=chunksize,
copy_table_comments=copy_table_comments,
debug_mode=debug_mode,
)

def incremental_copy(
Expand Down Expand Up @@ -70,4 +71,5 @@ def incremental_copy(
sync_exclusions=sync_exclusions,
chunksize=chunksize,
copy_table_comments=copy_table_comments,
debug_mode=debug_mode,
)
Loading