Skip to content

Commit

Permalink
Fix two issues
Browse files Browse the repository at this point in the history
Closes #24
Closes #25
  • Loading branch information
msg555 committed Sep 30, 2024
1 parent a6a0f8e commit a144f5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion subsetter/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def plan(self) -> SubsetPlan:
LOGGER.info("Scanning schema")
meta, extra_tables = DatabaseMetadata.from_engine(
self.engine,
self.config.select,
self.config.select + self.config.passthrough,
close_forward=self.config.include_dependencies,
)
self.meta = meta
Expand Down
4 changes: 0 additions & 4 deletions subsetter/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,10 +531,6 @@ def insert_order(self) -> List[str]:
remapped_table = self.table_remap.get(table)
if remapped_table:
result.append(remapped_table)
else:
LOGGER.warning(
"Database does not have table %s, will not sample", table
)
return result

def output_result_set(
Expand Down

0 comments on commit a144f5a

Please sign in to comment.