You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cromshell
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1588,7 +1588,7 @@ function cost()
1588
1588
local tmp_cost_file=$( makeTemp )
1589
1589
1590
1590
# Get the cost from Big Query:
1591
-
bq query --use_legacy_sql=false "SELECT sum(cost) FROM \`${COST_TABLE}\`, UNNEST(labels) WHERE value = \"cromwell-${id}\" AND _PARTITIONDATE BETWEEN \"${START_DATE}\" AND \"${END_DATE}\";">${tmp_cost_file}
1591
+
bq query --use_legacy_sql=false "SELECT sum(cost) FROM \`${COST_TABLE}\`, UNNEST(labels) WHERE value = \"cromwell-${id}\" AND partition_time BETWEEN \"${START_DATE}\" AND \"${END_DATE}\";">${tmp_cost_file}
1592
1592
r=$?
1593
1593
1594
1594
# Display the cost:
@@ -1626,14 +1626,14 @@ function cost-detailed()
1626
1626
AND task.key LIKE \"wdl-task-name\"
1627
1627
AND wfid.key LIKE \"cromwell-workflow-id\"
1628
1628
AND wfid.value like \"%${id}\"
1629
-
AND _PARTITIONDATE BETWEEN \"${START_DATE}\" AND \"${END_DATE}\"
1629
+
AND partition_time BETWEEN \"${START_DATE}\" AND \"${END_DATE}\"
0 commit comments