Files
greptimedb/tests/cases/standalone/common/select/dummy.sql
Niwaka 04dbd835a1 feat: support greatest function (#2490)
* 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
2023-09-28 10:25:09 +00:00

34 lines
507 B
SQL

select 1;
select 2 + 3;
select 4 + 0.5;
select "a";
select "A";
select * where "a" = "A";
select TO_UNIXTIME('2023-03-01T06:35:02Z');
select TO_UNIXTIME(' 2023-03-01T06:35:02Z ');
select TO_UNIXTIME(2);
create table test_unixtime(a int, b timestamp time index);
DESC TABLE test_unixtime;
insert into test_unixtime values(27, 27);
select * from test_unixtime;
select a from test_unixtime;
select b from test_unixtime;
select TO_UNIXTIME(b) from test_unixtime;
DROP TABLE test_unixtime;