Skip to content

Commit

Permalink
feat(cubestore): Rebase arrow to 2020-01-02 version
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Jan 4, 2021
1 parent cbbacce commit 3cbb46d
Show file tree
Hide file tree
Showing 12 changed files with 663 additions and 279 deletions.
2 changes: 1 addition & 1 deletion packages/cubejs-cubestore-driver/driver/CubeStoreQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class CubeStoreQuery extends BaseQuery {
}

timeGroupedColumn(granularity, dimension) {
return `date_trunc(${dimension}, '${GRANULARITY_TO_INTERVAL[granularity]}')`;
return `date_trunc('${GRANULARITY_TO_INTERVAL[granularity]}', ${dimension})`;
}

escapeColumnName(name) {
Expand Down

0 comments on commit 3cbb46d

Please sign in to comment.