mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-16 02:02:56 +00:00
* feat(to_unixtime): add initial implementation * feat(to_unixtime): use Timestamp for conversion * feat(to_unixtime): implement conversion to Result<VectorRef> * feat(to_unixtime): make unit test pass * feat(to_unixtime): preserve None for invalid timestamps * feat(to_unixtime): address code review suggestions * feat(to_unixtime): add an sqlness test * feat(to_unixtime): adjust the assertion for the sqlness test * Update tests/cases/standalone/common/select/dummy.sql --------- Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
14 lines
140 B
SQL
14 lines
140 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');
|