Skip to content

Commit

Permalink
Remove unnecessary variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Mar 18, 2024
1 parent 6cb02c4 commit 5d716b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions metricflow/dataset/convert_semantic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
SqlStringExpression,
)
from metricflow.sql.sql_plan import (
SqlQueryPlanNode,
SqlSelectColumn,
SqlSelectStatementNode,
SqlTableFromClauseNode,
Expand Down Expand Up @@ -492,7 +491,6 @@ def create_sql_source_data_set(self, semantic_model: SemanticModel) -> SemanticM
all_select_columns.extend(select_columns)

# Generate the "from" clause depending on whether it's an SQL query or an SQL table.
from_source: Optional[SqlQueryPlanNode] = None
from_source = SqlTableFromClauseNode(sql_table=SqlTable.from_string(semantic_model.node_relation.relation_name))

select_statement_node = SqlSelectStatementNode(
Expand Down

0 comments on commit 5d716b3

Please sign in to comment.