|
17 | 17 | daily_issue_field_history.status, |
18 | 18 | {{ "daily_issue_field_history.team," if using_teams }} |
19 | 19 | {% if include_story_points %} |
20 | | - cast(daily_issue_field_history.story_points as {{ dbt.type_float() }}) as story_points, |
| 20 | + cast(daily_issue_field_history.story_points as {{ dbt.type_numeric() }}) as story_points, |
21 | 21 | {% endif %} |
22 | 22 | {% if include_story_point_estimate %} |
23 | | - cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_float() }}) as story_point_estimate, |
| 23 | + cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_numeric() }}) as story_point_estimate, |
24 | 24 | {% endif %} |
25 | 25 | sprints as sprint_id |
26 | 26 |
|
|
42 | 42 | daily_issue_field_history.status, |
43 | 43 | {{ "daily_issue_field_history.team," if using_teams }} |
44 | 44 | {% if include_story_points %} |
45 | | - cast(daily_issue_field_history.story_points as {{ dbt.type_float() }}) as story_points, |
| 45 | + cast(daily_issue_field_history.story_points as {{ dbt.type_numeric() }}) as story_points, |
46 | 46 | {% endif %} |
47 | 47 | {% if include_story_point_estimate %} |
48 | | - cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_float() }}) as story_point_estimate, |
| 48 | + cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_numeric() }}) as story_point_estimate, |
49 | 49 | {% endif %} |
50 | 50 | sprints.value as sprint_id |
51 | 51 |
|
|
67 | 67 | unnest_sprint_id_array.status, |
68 | 68 | {{ "unnest_sprint_id_array.team," if using_teams }} |
69 | 69 | {% if include_story_points %} |
70 | | - unnest_sprint_id_array.story_points, |
| 70 | + cast(unnest_sprint_id_array.story_points as {{ dbt.type_numeric() }}) as story_points, |
71 | 71 | {% endif %} |
72 | 72 | {% if include_story_point_estimate %} |
73 | | - unnest_sprint_id_array.story_point_estimate, |
| 73 | + cast(unnest_sprint_id_array.story_point_estimate as {{ dbt.type_numeric() }}) as story_point_estimate, |
74 | 74 | {% endif %} |
75 | 75 | cast(sprint_id as {{ dbt.type_string() }}) as sprint_id |
76 | 76 | from ( |
|
82 | 82 | daily_issue_field_history.status, |
83 | 83 | {{ "daily_issue_field_history.team," if using_teams }} |
84 | 84 | {% if include_story_points %} |
85 | | - cast(daily_issue_field_history.story_points as {{ dbt.type_float() }}) as story_points, |
| 85 | + cast(daily_issue_field_history.story_points as {{ dbt.type_numeric() }}) as story_points, |
86 | 86 | {% endif %} |
87 | 87 | {% if include_story_point_estimate %} |
88 | | - cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_float() }}) as story_point_estimate, |
| 88 | + cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_numeric() }}) as story_point_estimate, |
89 | 89 | {% endif %} |
90 | 90 | split_to_array(sprint, ', ') as super_sprint_ids |
91 | 91 |
|
|
106 | 106 | daily_issue_field_history.status, |
107 | 107 | {{ "daily_issue_field_history.team," if using_teams }} |
108 | 108 | {% if include_story_points %} |
109 | | - cast(daily_issue_field_history.story_points as {{ dbt.type_float() }}) as story_points, |
| 109 | + cast(daily_issue_field_history.story_points as {{ dbt.type_numeric() }}) as story_points, |
110 | 110 | {% endif %} |
111 | 111 | {% if include_story_point_estimate %} |
112 | | - cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_float() }}) as story_point_estimate, |
| 112 | + cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_numeric() }}) as story_point_estimate, |
113 | 113 | {% endif %} |
114 | 114 | sprints as sprint_id |
115 | 115 |
|
|
132 | 132 | daily_issue_field_history.status, |
133 | 133 | {{ "daily_issue_field_history.team," if using_teams }} |
134 | 134 | {% if include_story_points %} |
135 | | - cast(daily_issue_field_history.story_points as {{ dbt.type_float() }}) as story_points, |
| 135 | + cast(daily_issue_field_history.story_points as {{ dbt.type_numeric() }}) as story_points, |
136 | 136 | {% endif %} |
137 | 137 | {% if include_story_point_estimate %} |
138 | | - cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_float() }}) as story_point_estimate, |
| 138 | + cast(daily_issue_field_history.story_point_estimate as {{ dbt.type_numeric() }}) as story_point_estimate, |
139 | 139 | {% endif %} |
140 | 140 | sprints as sprint_id |
141 | 141 | from daily_issue_field_history |
|
0 commit comments