Skip to content

Commit

Permalink
Merge pull request #1738 from ashendes/master
Browse files Browse the repository at this point in the history
Fix the persisted aggregation SQL query.
  • Loading branch information
dnwick authored Aug 13, 2021
2 parents d366e24 + 8ef60e0 commit 1b8504d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<countFunction>COUNT({{COLUMN}})</countFunction>
<maxFunction>MAX({{COLUMN}})</maxFunction>
<minFunction>MIN({{COLUMN}})</minFunction>
<timeConversionFunction>EXTRACT(epoch from date_trunc('{{DURATION}}', to_timestamp({{COLUMN}}/1000)))*1000;
<timeConversionFunction>EXTRACT(epoch from date_trunc('{{DURATION}}', to_timestamp({{COLUMN}}/1000)))*1000
</timeConversionFunction>
</selectQueryFunctions>
<timeConversionDurationMapping>
Expand All @@ -160,4 +160,4 @@
<stringType>VARCHAR</stringType>
</typeMapping>
</database>
</rdbms-table-configuration>
</rdbms-table-configuration>

0 comments on commit 1b8504d

Please sign in to comment.