first-pass defaults to latest timespan/boundary_id

This commit is contained in:
John Krauss
2016-05-11 18:17:48 -04:00
parent ccf61c3583
commit 506f9ead30
2 changed files with 15 additions and 9 deletions

View File

@@ -95,7 +95,8 @@ BEGIN
aggregate,
name,
type,
c.description
c.description,
$1 AS boundary_id
FROM column_ids, observatory.OBS_column c, observatory.OBS_column_table ct, observatory.OBS_table t
WHERE column_ids.column_id = c.id
AND c.id = ct.column_id