mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
* feat: support "use catalog and schema"(behave like the "use" in MySQL) in GRPC requests * fix: rebase develop
24 lines
442 B
SQL
24 lines
442 B
SQL
CREATE SCHEMA insert_invalid;
|
|
|
|
USE insert_invalid;
|
|
|
|
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);
|