We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0a605 commit fd13815Copy full SHA for fd13815
packages/cubejs-schema-compiler/src/adapter/BigqueryQuery.ts
@@ -318,6 +318,7 @@ export class BigqueryQuery extends BaseQuery {
318
// DATEADD is being rewritten to DATE_ADD
319
templates.functions.DATE_ADD = 'DATETIME_ADD(DATETIME({{ args[0] }}), INTERVAL {{ interval }} {{ date_part }})';
320
templates.functions.CURRENTDATE = 'CURRENT_DATE';
321
+ templates.functions.DATE = 'TIMESTAMP({{ args_concat }})';
322
delete templates.functions.TO_CHAR;
323
delete templates.functions.PERCENTILECONT;
324
templates.expressions.binary = '{% if op == \'%\' %}MOD({{ left }}, {{ right }}){% else %}({{ left }} {{ op }} {{ right }}){% endif %}';
0 commit comments