Files
greptimedb/tests/cases/standalone/common/insert/insert_invalid.sql
Xieqijun de0b8aa0a0 feat: Support the DELETE SQL statement (#942)
* [WIP]:delete sql

* [fix]:time parser bug

* [fix]:resolve conflict

* [fmt]:cargo fmt

* [fix]:remove unless log

* [fix]:test

* [feat]:add error parse

* [fix]:resolve conflict

* [fix]:remove unless code

* [fix]:remove unless code

* [test]:add IT

* [fix]:add license

* [fix]:ci

* [fix]:ci

* [fix]:ci

* [fix]:remove

* [fix]:ci

* [feat]:add sql

* [fix]:modify sql

* [feat]:refactor parser_expr

* [feat]:rm backtrace

* [fix]:ci

* [fix]: conversation

* [fix]: conversation

* feat:refactor delete

* feat:refactor delete

* fix:resolve conversation

* fix:ut

* fix:ut

* fix:conversation

* fix:conversation

* fix:conservation

---------

Co-authored-by: xieqijun <qijun@apache.org>
2023-02-15 13:13:17 +08:00

24 lines
426 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);
DROP TABLE strings;
DROP TABLE a;