Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Sep 24, 2024
1 parent 4bf1802 commit 42c88d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion metricflow/sql/optimizer/column_pruner.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def visit_select_statement_node(self, node: SqlSelectStatementNode) -> SqlQueryP
or select_column in node.group_bys
or node.distinct
)
# TODO: don't prune column if it's used in join on condition

if len(pruned_select_columns) == 0:
raise RuntimeError("All columns have been pruned - this indicates an bug in the pruner or in the inputs.")
Expand Down

0 comments on commit 42c88d8

Please sign in to comment.