mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 01:40:36 +00:00
* refactor: adjust outermost error message Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix clippy Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * preserve tonic status code Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
37 lines
658 B
Plaintext
37 lines
658 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), Schema error: No field named 'a'. Valid fields are .
|
|
|
|
select "A";
|
|
|
|
Error: 3000(PlanQuery), Schema error: No field named 'A'. Valid fields are .
|
|
|
|
select * where "a" = "A";
|
|
|
|
Error: 3000(PlanQuery), Schema error: No field named 'a'. Valid fields are .
|
|
|