should be it
This commit is contained in:
21
external/duckdb/test/sql/peg_parser/index.test
vendored
Normal file
21
external/duckdb/test/sql/peg_parser/index.test
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# name: test/sql/peg_parser/index.test
|
||||
# description: Test index syntax in peg parser
|
||||
# group: [peg_parser]
|
||||
|
||||
require autocomplete
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$create unique index part_comp_key_index on insertconflicttest(key, fruit) where 1;$TEST_PEG_PARSER$);
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$CREATE INDEX my_ip_idx ON t1 USING HNSW (vec) WITH (metric = 'ip');$TEST_PEG_PARSER$);
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$CREATE INDEX idx ON embeddings USING HNSW (vec) WITH (ef_construction = 100, ef_search = 100, M = 3, M0 = 3);$TEST_PEG_PARSER$);
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$DROP INDEX simple.new_schema.i_index$TEST_PEG_PARSER$);
|
||||
|
||||
statement ok
|
||||
CALL check_peg_parser($TEST_PEG_PARSER$DROP INDEX s.i_index;$TEST_PEG_PARSER$);
|
||||
|
||||
Reference in New Issue
Block a user