Skip to content

Commit 56e96e7

Browse files
bugfix: Invalid QuestDB timestamp floor year unit
1 parent 46b257c commit 56e96e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-questdb-driver/src/QuestQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const GRANULARITY_TO_INTERVAL: Record<string, string> = {
66
hour: 'h',
77
day: 'd',
88
month: 'M',
9-
year: 'Y'
9+
year: 'y'
1010
};
1111

1212
class QuestParamAllocator extends ParamAllocator {

0 commit comments

Comments
 (0)