Files
greptimedb/tests/cases/standalone/common/insert/insert_invalid.sql
LFC 9ad6c45913 test: Sqlness tests for distribute mode (#979)
* test: Sqlness tests for distribute mode

* ci

* fix: resolve PR comments

* fix: resolve PR comments
2023-02-14 10:24:09 +08:00

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);