Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Dec 14, 2024
1 parent a665720 commit f041f24
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions metricflow/engine/metricflow_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,20 +203,6 @@ def sql_statement(self) -> SqlStatement:

return sql_statement

@property
def rendered_sql_without_descriptions(self) -> SqlStatement:
"""Return the SQL query without the inline descriptions."""
sql_query = self.sql_statement
return SqlStatement(
sql="\n".join(
filter(
lambda line: not line.strip().startswith("--"),
sql_query.sql.split("\n"),
)
),
bind_parameter_set=sql_query.bind_parameter_set,
)

@property
def execution_plan(self) -> ExecutionPlan: # noqa: D102
return self.convert_to_execution_plan_result.execution_plan
Expand Down

0 comments on commit f041f24

Please sign in to comment.