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 ae6f64f commit e87ce37Copy full SHA for e87ce37
packages/cubejs-databricks-jdbc-driver/src/DatabricksQuery.ts
@@ -186,6 +186,7 @@ export class DatabricksQuery extends BaseQuery {
186
187
public sqlTemplates() {
188
const templates = super.sqlTemplates();
189
+ templates.functions.CURRENTDATE = 'CURRENT_DATE';
190
templates.functions.DATETRUNC = 'DATE_TRUNC({{ args_concat }})';
191
templates.functions.DATEPART = 'DATE_PART({{ args_concat }})';
192
templates.functions.BTRIM = 'TRIM({% if args[1] is defined %}{{ args[1] }} FROM {% endif %}{{ args[0] }})';
0 commit comments