mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 05:12:54 +00:00
test: Sqlness tests for distribute mode (#979)
* test: Sqlness tests for distribute mode * ci * fix: resolve PR comments * fix: resolve PR comments
This commit is contained in:
19
tests/cases/standalone/common/insert/insert_invalid.sql
Normal file
19
tests/cases/standalone/common/insert/insert_invalid.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user