Fix/basic suggestion (#119)
* fix: correct suggetion logic in multiple sql case * test: add multiple sql test case of suggestion * feat: export SyntaxContextType as enum
This commit is contained in:
19
test/parser/flinksql/suggestion/fixtures/multipleSql.sql
Normal file
19
test/parser/flinksql/suggestion/fixtures/multipleSql.sql
Normal file
@ -0,0 +1,19 @@
|
||||
CREATE TABLE orders (
|
||||
order_uid BIGINT,
|
||||
product_id BIGINT,
|
||||
price DECIMAL(32, 2),
|
||||
order_time TIMESTAMP(3)
|
||||
) WITH (
|
||||
'connector' = 'datagen'
|
||||
);
|
||||
|
||||
CREATE TABLE orders (
|
||||
order_uid BIGINT,
|
||||
product_id BIGINT,
|
||||
price DECIMAL(32, 2),
|
||||
order_time TIMESTAMP(3)
|
||||
) WITH (
|
||||
'connector' = 'datagen'
|
||||
);
|
||||
|
||||
use cat1.
|
Reference in New Issue
Block a user