mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 06:12:55 +00:00
* feat: add insert test cases * fix: update results after rebase develop * feat: supports unsigned integer types and big_insert test * test: add insert_invalid test * feat: supports time index constraint for bigint type * chore: time index column at last * test: adds more order, limit test * fix: style * feat: adds numbers table in standable memory catalog mode * feat: enable fail_fast and test_filter in sqlness * feat: add more tests * fix: test_filter * test: add alter tests * feat: supports if_not_exists when create database * test: filter_push_down and catalog test * fix: compile error * fix: delete output file * chore: ignore integration test output in git * test: update all integration test results * fix: by code review * chore: revert .gitignore * feat: sort the show tables/databases results * chore: remove issue link * fix: compile error and code format after rebase * test: update all integration test results
89 lines
2.1 KiB
Plaintext
89 lines
2.1 KiB
Plaintext
SELECT 2*3+1;
|
|
|
|
+--------------------------------+
|
|
| Int64(2) * Int64(3) + Int64(1) |
|
|
+--------------------------------+
|
|
| 7 |
|
|
+--------------------------------+
|
|
|
|
SELECT 1+2*3;
|
|
|
|
+--------------------------------+
|
|
| Int64(1) + Int64(2) * Int64(3) |
|
|
+--------------------------------+
|
|
| 7 |
|
|
+--------------------------------+
|
|
|
|
SELECT 2^2 + 1;
|
|
|
|
+--------------------------------+
|
|
| Int64(2) # Int64(2) + Int64(1) |
|
|
+--------------------------------+
|
|
| 1 |
|
|
+--------------------------------+
|
|
|
|
SELECT 1+2^2;
|
|
|
|
+--------------------------------+
|
|
| Int64(1) + Int64(2) # Int64(2) |
|
|
+--------------------------------+
|
|
| 1 |
|
|
+--------------------------------+
|
|
|
|
SELECT 2*4 / 2;
|
|
|
|
+--------------------------------+
|
|
| Int64(2) * Int64(4) / Int64(2) |
|
|
+--------------------------------+
|
|
| 4 |
|
|
+--------------------------------+
|
|
|
|
SELECT 2*(4 / 2);
|
|
|
|
+--------------------------------+
|
|
| Int64(2) * Int64(4) / Int64(2) |
|
|
+--------------------------------+
|
|
| 4 |
|
|
+--------------------------------+
|
|
|
|
SELECT 16/2*4;
|
|
|
|
+---------------------------------+
|
|
| Int64(16) / Int64(2) * Int64(4) |
|
|
+---------------------------------+
|
|
| 32 |
|
|
+---------------------------------+
|
|
|
|
SELECT (16/2)*4;
|
|
|
|
+---------------------------------+
|
|
| Int64(16) / Int64(2) * Int64(4) |
|
|
+---------------------------------+
|
|
| 32 |
|
|
+---------------------------------+
|
|
|
|
SELECT 2*3*2;
|
|
|
|
+--------------------------------+
|
|
| Int64(2) * Int64(3) * Int64(2) |
|
|
+--------------------------------+
|
|
| 12 |
|
|
+--------------------------------+
|
|
|
|
SELECT 2^3*2;
|
|
|
|
+--------------------------------+
|
|
| Int64(2) # Int64(3) * Int64(2) |
|
|
+--------------------------------+
|
|
| 4 |
|
|
+--------------------------------+
|
|
|
|
SELECT 2*3^2;
|
|
|
|
+--------------------------------+
|
|
| Int64(2) * Int64(3) # Int64(2) |
|
|
+--------------------------------+
|
|
| 4 |
|
|
+--------------------------------+
|
|
|