mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-29 11:20:38 +00:00
* chore: update arrow, parquet to 36.0 and datafusion Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * update deps Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * Apply suggestions from code review Co-authored-by: LFC <bayinamine@gmail.com> * update sqlness result Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: LFC <bayinamine@gmail.com>
45 lines
835 B
Plaintext
45 lines
835 B
Plaintext
select 1;
|
|
|
|
+----------+
|
|
| Int64(1) |
|
|
+----------+
|
|
| 1 |
|
|
+----------+
|
|
|
|
select 2 + 3;
|
|
|
|
+---------------------+
|
|
| Int64(2) + Int64(3) |
|
|
+---------------------+
|
|
| 5 |
|
|
+---------------------+
|
|
|
|
select 4 + 0.5;
|
|
|
|
+-------------------------+
|
|
| Int64(4) + Float64(0.5) |
|
|
+-------------------------+
|
|
| 4.5 |
|
|
+-------------------------+
|
|
|
|
select "a";
|
|
|
|
Error: 3000(PlanQuery), No field named "a".
|
|
|
|
select "A";
|
|
|
|
Error: 3000(PlanQuery), No field named "A".
|
|
|
|
select * where "a" = "A";
|
|
|
|
Error: 3000(PlanQuery), No field named "a".
|
|
|
|
select TO_UNIXTIME('2023-03-01T06:35:02Z');
|
|
|
|
+-------------------------------------------+
|
|
| to_unixtime(Utf8("2023-03-01T06:35:02Z")) |
|
|
+-------------------------------------------+
|
|
| 1677652502 |
|
|
+-------------------------------------------+
|
|
|