Skip to content

Commit

Permalink
Add `SqlQueryOptimizationLevel.default_level().
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Nov 13, 2024
1 parent 600d5f9 commit 98e62f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions metricflow/sql/optimizer/optimization_levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ class SqlQueryOptimizationLevel(Enum):
O4 = "O4"
O5 = "O5"

@staticmethod
def default_level() -> SqlQueryOptimizationLevel: # noqa: D102
return SqlQueryOptimizationLevel.O4


@dataclass(frozen=True)
class SqlGenerationOptionSet:
Expand Down

0 comments on commit 98e62f4

Please sign in to comment.