Skip to content

Commit

Permalink
Added whitespace logging
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinpurtak committed Oct 25, 2024
1 parent 171e8a4 commit 4f67506
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/viadot/sources/sap_rfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ def to_df(self, tests: dict | None = None) -> pd.DataFrame: # noqa: C901, PLR09
if any(rows_missing_whitespaces):
# Check how many whitespaces is missing for each row
# column value
logger.info(f"Adding whitespaces for {col} column")
missing_whitespaces_len = (
unique_column_len - actual_length_of_field
)
Expand Down

0 comments on commit 4f67506

Please sign in to comment.