Skip to content

Commit

Permalink
remove pandas prepend
Browse files Browse the repository at this point in the history
  • Loading branch information
mckornfield committed Feb 6, 2024
1 parent 6d1943b commit 5fb157e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gretel_trainer/relational/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,6 @@ def _sample_table(
if self._config.entire_table:
logger.debug(f"Extracting entire table: {table_name}")
with engine.connect() as conn:
if schema:
# prepend schema if not in the name
table_name = f"{schema}.{table_name}"
df_iter = pd.read_sql_table(
table_name, conn, chunksize=self._chunk_size, schema=schema
)
Expand Down

0 comments on commit 5fb157e

Please sign in to comment.