feat: optimize suggestion (#231)
* feat: optimize the strategy of finding the right range * test: apply commentOtherLine util to all suggestion tests * test: decomment suggestion test cases * test: add suggestion test cases in multiple statements * chore: improve comments * test: update log info in test
This commit is contained in:
@ -0,0 +1,22 @@
|
||||
CREATE TABLE VALUES -- unfinished
|
||||
|
||||
ALTER SCHEMA foo RENAME TO bar;
|
||||
|
||||
DELETE FROM t;
|
||||
|
||||
DENY SELECT ON SCHEMA s TO USER u;
|
||||
|
||||
SELECT ids FROM db. ; -- unfinished
|
||||
|
||||
INSERT INTO weather (date, city, temp_hi, temp_lo) VALUES ('1994-11-29', 'Hayward', 54, 37);
|
||||
|
||||
EXPLAIN ANALYZE VERBOSE SELECT * FROM t;
|
||||
|
||||
INSERT INTO weather (date, city, temp_hi, temp_lo) VALUES ('1994-11-29', 'Hayward', 54, 37); -- unfinished
|
||||
|
||||
DENY SELECT ON SCHEMA s TO USER u;
|
||||
|
||||
CALL catalog.schema.test();
|
||||
|
||||
INSERT INTO products (product_no, name, price) SELECT * FROM db. ; -- unfinished
|
||||
|
Reference in New Issue
Block a user