Skip to content

Commit

Permalink
removed logger added for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
BuzzCutNorman committed Nov 11, 2022
1 parent 0339139 commit d284efa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions singer_sdk/connectors/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,7 @@ def prepare_table(
partition_keys: list of partition keys.
as_temp_table: True to create a temp table.
"""
self.logger.info(f"Preparing table {full_table_name}")
if not self.table_exists(full_table_name=full_table_name):
self.logger.info(f"Table {full_table_name} does not exist")
self.create_empty_table(
full_table_name=full_table_name,
schema=schema,
Expand All @@ -680,7 +678,7 @@ def prepare_table(
as_temp_table=as_temp_table,
)
return
self.logger.info(f"Found table {full_table_name}, going to prepare columns")

for property_name, property_def in schema["properties"].items():
self.prepare_column(
full_table_name, property_name, self.to_sql_type(property_def)
Expand Down

0 comments on commit d284efa

Please sign in to comment.