Merge branch '691-date-histogram' of github.com:CartoDB/Windshaft-cartodb into 691-date-histogram
This commit is contained in:
commit
527e005952
@ -163,7 +163,7 @@ var dateHistogramQueryTpl = dot.template([
|
||||
' \'epoch\', ',
|
||||
' date_trunc(\'{{=it._aggregation}}\', {{=it._column}} AT TIME ZONE \'{{=it._timezone}}\'',
|
||||
' ) AT TIME ZONE \'{{=it._timezone}}\'))::numeric AS timestamp,',
|
||||
' min(date_part(\'epoch\', {{=it._column}}))::numeric AS min,',
|
||||
' min(date_part(\'epoch\', ))::numeric AS min,',
|
||||
' max(date_part(\'epoch\', {{=it._column}}))::numeric AS max,',
|
||||
' avg(date_part(\'epoch\', {{=it._column}}))::numeric AS avg,',
|
||||
' count(*) AS freq',
|
||||
|
Loading…
Reference in New Issue
Block a user