mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-26 16:10:02 +00:00
* feat: support greatest function * feat: make greatest take date_type as input * fix: move sqlness test into common/function/time.sql * fix: avoid using unwarp * fix: use downcast * refactor: simplify arrow cast
8 lines
197 B
SQL
8 lines
197 B
SQL
-- SQLNESS REPLACE (\d+:\d+:\d+\.\d+) TIME
|
|
-- SQLNESS REPLACE [\s\-]+
|
|
select current_time();
|
|
|
|
select GREATEST('1999-01-30', '2023-03-01');
|
|
|
|
select GREATEST('2000-02-11'::Date, '2020-12-30'::Date);
|