Skip to content

Commit e9ea50f

Browse files
committed
test(cubesql): Add NOW function template
1 parent 54c9894 commit e9ea50f

File tree

1 file changed

+1
-0
lines changed
  • rust/cubesql/cubesql/src/compile/test

1 file changed

+1
-0
lines changed

rust/cubesql/cubesql/src/compile/test/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ pub fn sql_generator(
581581
("functions/LEAST".to_string(), "LEAST({{ args_concat }})".to_string()),
582582
("functions/DATEDIFF".to_string(), "DATEDIFF({{ date_part }}, {{ args[1] }}, {{ args[2] }})".to_string()),
583583
("functions/CURRENTDATE".to_string(), "CURRENT_DATE({{ args_concat }})".to_string()),
584+
("functions/NOW".to_string(), "NOW({{ args_concat }})".to_string()),
584585
("functions/DATE_ADD".to_string(), "DATE_ADD({{ args_concat }})".to_string()),
585586
("functions/CONCAT".to_string(), "CONCAT({{ args_concat }})".to_string()),
586587
("functions/DATE".to_string(), "DATE({{ args_concat }})".to_string()),

0 commit comments

Comments
 (0)