Skip to content

Commit 036f68a

Browse files
committed
fix: Unknown function NOW for Snowflake -- Incorrect now timestamp implementation
Fixes #537
1 parent a40fdac commit 036f68a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/cubejs-schema-compiler/adapter/SnowflakeQuery.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ class SnowflakeQuery extends BaseQuery {
2626
defaultRefreshKeyRenewalThreshold() {
2727
return 120;
2828
}
29+
30+
nowTimestampSql() {
31+
return `CURRENT_TIMESTAMP`;
32+
}
2933
}
3034

3135
module.exports = SnowflakeQuery;

0 commit comments

Comments
 (0)