Skip to content

Commit

Permalink
Update basic snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Sep 19, 2024
1 parent 9bffe65 commit 854f472
Show file tree
Hide file tree
Showing 10 changed files with 326 additions and 254 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ FROM (
, subq_1.ds__extract_day
, subq_1.ds__extract_dow
, subq_1.ds__extract_doy
, subq_1.ds__martian_day
, subq_1.ds__day AS metric_time__day
, subq_1.ds__week AS metric_time__week
, subq_1.ds__month AS metric_time__month
Expand All @@ -215,6 +216,7 @@ FROM (
, subq_1.ds__extract_day AS metric_time__extract_day
, subq_1.ds__extract_dow AS metric_time__extract_dow
, subq_1.ds__extract_doy AS metric_time__extract_doy
, subq_1.ds__martian_day AS metric_time__martian_day
FROM (
-- Time Spine
SELECT
Expand All @@ -229,6 +231,7 @@ FROM (
, EXTRACT(day FROM time_spine_src_28006.ds) AS ds__extract_day
, EXTRACT(isodow FROM time_spine_src_28006.ds) AS ds__extract_dow
, EXTRACT(doy FROM time_spine_src_28006.ds) AS ds__extract_doy
, time_spine_src_28006.martian_day AS ds__martian_day
FROM ***************************.mf_time_spine time_spine_src_28006
) subq_1
) subq_2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ FROM (
, subq_0.ds__extract_day
, subq_0.ds__extract_dow
, subq_0.ds__extract_doy
, subq_0.ds__martian_day
, subq_0.ds__day AS metric_time__day
, subq_0.ds__week AS metric_time__week
, subq_0.ds__month AS metric_time__month
Expand All @@ -26,6 +27,7 @@ FROM (
, subq_0.ds__extract_day AS metric_time__extract_day
, subq_0.ds__extract_dow AS metric_time__extract_dow
, subq_0.ds__extract_doy AS metric_time__extract_doy
, subq_0.ds__martian_day AS metric_time__martian_day
FROM (
-- Time Spine
SELECT
Expand All @@ -40,6 +42,7 @@ FROM (
, EXTRACT(day FROM time_spine_src_28006.ds) AS ds__extract_day
, EXTRACT(isodow FROM time_spine_src_28006.ds) AS ds__extract_dow
, EXTRACT(doy FROM time_spine_src_28006.ds) AS ds__extract_doy
, time_spine_src_28006.martian_day AS ds__martian_day
FROM ***************************.mf_time_spine time_spine_src_28006
) subq_0
) subq_1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ FROM (
, subq_0.ds__extract_day
, subq_0.ds__extract_dow
, subq_0.ds__extract_doy
, subq_0.ds__martian_day
, subq_0.ds__day AS metric_time__day
, subq_0.ds__week AS metric_time__week
, subq_0.ds__month AS metric_time__month
Expand All @@ -26,6 +27,7 @@ FROM (
, subq_0.ds__extract_day AS metric_time__extract_day
, subq_0.ds__extract_dow AS metric_time__extract_dow
, subq_0.ds__extract_doy AS metric_time__extract_doy
, subq_0.ds__martian_day AS metric_time__martian_day
FROM (
-- Time Spine
SELECT
Expand All @@ -40,6 +42,7 @@ FROM (
, EXTRACT(day FROM time_spine_src_28006.ds) AS ds__extract_day
, EXTRACT(isodow FROM time_spine_src_28006.ds) AS ds__extract_dow
, EXTRACT(doy FROM time_spine_src_28006.ds) AS ds__extract_doy
, time_spine_src_28006.martian_day AS ds__martian_day
FROM ***************************.mf_time_spine time_spine_src_28006
) subq_0
) subq_1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ FROM (
, subq_1.ds__extract_day
, subq_1.ds__extract_dow
, subq_1.ds__extract_doy
, subq_1.ds__martian_day
, subq_1.ds__day AS metric_time__day
, subq_1.ds__week AS metric_time__week
, subq_1.ds__month AS metric_time__month
Expand All @@ -154,6 +155,7 @@ FROM (
, subq_1.ds__extract_day AS metric_time__extract_day
, subq_1.ds__extract_dow AS metric_time__extract_dow
, subq_1.ds__extract_doy AS metric_time__extract_doy
, subq_1.ds__martian_day AS metric_time__martian_day
FROM (
-- Time Spine
SELECT
Expand All @@ -168,6 +170,7 @@ FROM (
, EXTRACT(day FROM time_spine_src_28006.ds) AS ds__extract_day
, EXTRACT(isodow FROM time_spine_src_28006.ds) AS ds__extract_dow
, EXTRACT(doy FROM time_spine_src_28006.ds) AS ds__extract_doy
, time_spine_src_28006.martian_day AS ds__martian_day
FROM ***************************.mf_time_spine time_spine_src_28006
) subq_1
) subq_2
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<SqlSelectStatementNode>
<!-- description = "Pass Only Elements: ['metric_time__day',]" -->
<!-- node_id = NodeId(id_str='ss_1') -->
<!-- col0 = SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_22), column_alias='metric_time__day') -->
<!-- col0 = SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_24), column_alias='metric_time__day') -->
<!-- from_source = SqlSelectStatementNode(node_id=ss_0) -->
<!-- group_by0 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_22), column_alias='metric_time__day') -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_24), column_alias='metric_time__day') -->
<!-- where = None -->
<!-- distinct = False -->
<SqlSelectStatementNode>
Expand All @@ -26,46 +26,53 @@
<!-- col9 = SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_9), column_alias='ds__extract_dow') -->
<!-- col10 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_10), column_alias='ds__extract_doy') -->
<!-- col11 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_11), column_alias='metric_time__day') -->
<!-- col12 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_12), column_alias='metric_time__week') -->
<!-- col13 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_13), column_alias='metric_time__month') -->
<!-- col14 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_14), column_alias='metric_time__quarter') -->
<!-- col15 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_15), column_alias='metric_time__year') -->
<!-- col16 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_16), -->
<!-- column_alias='metric_time__extract_year', -->
<!-- ) -->
<!-- col11 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_11), column_alias='ds__martian_day') -->
<!-- col12 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_12), column_alias='metric_time__day') -->
<!-- col13 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_13), column_alias='metric_time__week') -->
<!-- col14 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_14), column_alias='metric_time__month') -->
<!-- col15 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_15), column_alias='metric_time__quarter') -->
<!-- col16 = -->
<!-- SqlSelectColumn(expr=SqlColumnReferenceExpression(node_id=cr_16), column_alias='metric_time__year') -->
<!-- col17 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_17), -->
<!-- column_alias='metric_time__extract_quarter', -->
<!-- column_alias='metric_time__extract_year', -->
<!-- ) -->
<!-- col18 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_18), -->
<!-- column_alias='metric_time__extract_month', -->
<!-- column_alias='metric_time__extract_quarter', -->
<!-- ) -->
<!-- col19 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_19), -->
<!-- column_alias='metric_time__extract_day', -->
<!-- column_alias='metric_time__extract_month', -->
<!-- ) -->
<!-- col20 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_20), -->
<!-- column_alias='metric_time__extract_dow', -->
<!-- column_alias='metric_time__extract_day', -->
<!-- ) -->
<!-- col21 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_21), -->
<!-- column_alias='metric_time__extract_dow', -->
<!-- ) -->
<!-- col22 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_22), -->
<!-- column_alias='metric_time__extract_doy', -->
<!-- ) -->
<!-- col23 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_23), -->
<!-- column_alias='metric_time__martian_day', -->
<!-- ) -->
<!-- from_source = SqlSelectStatementNode(node_id=ss_28018) -->
<!-- where = None -->
<!-- distinct = False -->
Expand All @@ -87,6 +94,11 @@
<!-- col9 = SqlSelectColumn(expr=SqlExtractExpression(node_id=ex_28298), column_alias='ds__extract_dow') -->
<!-- col10 = -->
<!-- SqlSelectColumn(expr=SqlExtractExpression(node_id=ex_28299), column_alias='ds__extract_doy') -->
<!-- col11 = -->
<!-- SqlSelectColumn( -->
<!-- expr=SqlColumnReferenceExpression(node_id=cr_28129), -->
<!-- column_alias='ds__martian_day', -->
<!-- ) -->
<!-- from_source = SqlTableNode(node_id=tfc_28018) -->
<!-- where = None -->
<!-- distinct = False -->
Expand Down
Loading

0 comments on commit 854f472

Please sign in to comment.