mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-14 17:23:09 +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
20 lines
390 B
SQL
20 lines
390 B
SQL
CREATE TABLE strings(i STRING, t BIGINT, time index(t));
|
|
|
|
INSERT INTO strings VALUES ('â‚(', 1);
|
|
|
|
INSERT INTO strings VALUES (3, 4);
|
|
|
|
SELECT * FROM strings WHERE i = 'â‚(';
|
|
|
|
CREATE TABLE a(i integer, j BIGINT, time index(j));
|
|
|
|
INSERT INTO a VALUES (1, 2);
|
|
|
|
INSERT INTO a VALUES (1);
|
|
|
|
INSERT INTO a VALUES (1,2,3);
|
|
|
|
INSERT INTO a VALUES (1,2),(3);
|
|
|
|
INSERT INTO a VALUES (1,2),(3,4,5);
|