Skip to content

Commit

Permalink
Temp: block date part for grain to date
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Sep 13, 2023
1 parent 32fba86 commit 38761fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion metricflow/plan_conversion/dataflow_to_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,6 @@ def visit_join_to_time_spine_node(self, node: JoinToTimeSpineNode[SourceDataSetT
time_granularity=metric_time_dimension_spec.time_granularity, arg=time_spine_column_select_expr
)
if node.offset_to_grain:
# TODO: allow offset_to_grain w/ granularity & datepart? what's the expected behavior?
# Filter down to one row per granularity period
new_filter = SqlComparisonExpression(
left_expr=select_expr, comparison=SqlComparison.EQUALS, right_expr=time_spine_column_select_expr
Expand Down

0 comments on commit 38761fe

Please sign in to comment.