mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-06 14:32:22 +00:00
17 lines
376 B
SQL
17 lines
376 B
SQL
-- Tests that the inverted index can only be supported when allow_experimental_full_text_index = 1.
|
|
|
|
SET allow_experimental_full_text_index = 0;
|
|
|
|
DROP TABLE IF EXISTS tab;
|
|
CREATE TABLE tab
|
|
(
|
|
`key` UInt64,
|
|
`str` String
|
|
)
|
|
ENGINE = MergeTree
|
|
ORDER BY key;
|
|
|
|
ALTER TABLE tab ADD INDEX inv_idx(str) TYPE full_text(0); -- { serverError SUPPORT_IS_DISABLED }
|
|
|
|
DROP TABLE tab;
|