Files
greptimedb/tests/cases/standalone/insert/insert_invalid.sql
LFC 8149932bad feat: local catalog drop table (#913)
* feat: local catalog drop table

* Update src/catalog/src/local/manager.rs

Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>

* Update src/catalog/src/local/manager.rs

Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>

* fix: resolve PR comments

---------

Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>
2023-01-31 14:44:03 +08:00

20 lines
450 B
SQL

CREATE TABLE insert_invalid_strings(i STRING, t BIGINT, time index(t));
INSERT INTO insert_invalid_strings VALUES ('â‚(', 1);
INSERT INTO insert_invalid_strings VALUES (3, 4);
SELECT * FROM insert_invalid_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);