Skip to content

Commit

Permalink
fix: Unknown function NOW for Snowflake -- Incorrect now timestamp im…
Browse files Browse the repository at this point in the history
…plementation

Fixes #537
  • Loading branch information
paveltiunov committed Mar 24, 2020
1 parent a40fdac commit 036f68a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cubejs-schema-compiler/adapter/SnowflakeQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class SnowflakeQuery extends BaseQuery {
defaultRefreshKeyRenewalThreshold() {
return 120;
}

nowTimestampSql() {
return `CURRENT_TIMESTAMP`;
}
}

module.exports = SnowflakeQuery;

0 comments on commit 036f68a

Please sign in to comment.