You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/queries/0_stateless/02346_gin_index_legacy_name.sql
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ DROP TABLE IF EXISTS tab;
8
8
9
9
-- Creation only works with the (old) setting enabled.
10
10
SET allow_experimental_inverted_index =0;
11
-
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE inverted(2)) ENGINE = MergeTree() ORDER BY k; -- { serverError ILLEGAL_INDEX }
11
+
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE inverted(2)) ENGINE = MergeTree() ORDER BY k SETTINGS min_bytes_for_full_part_storage =0; -- { serverError ILLEGAL_INDEX }
12
12
13
13
SET allow_experimental_inverted_index =1;
14
-
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE inverted(2)) ENGINE = MergeTree() ORDER BY k;
14
+
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE inverted(2)) ENGINE = MergeTree() ORDER BY k SETTINGS min_bytes_for_full_part_storage =0;
15
15
INSERT INTO tab VALUES (1, 'ab') (2, 'bc');
16
16
17
17
-- Detach and attach should work.
@@ -40,10 +40,10 @@ DROP TABLE tab;
40
40
41
41
-- Creation only works with the (old) setting enabled.
42
42
SET allow_experimental_full_text_index =0;
43
-
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE full_text(2)) ENGINE = MergeTree() ORDER BY k; -- { serverError ILLEGAL_INDEX }
43
+
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE full_text(2)) ENGINE = MergeTree() ORDER BY k SETTINGS min_bytes_for_full_part_storage =0; -- { serverError ILLEGAL_INDEX }
44
44
45
45
SET allow_experimental_full_text_index =1;
46
-
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE full_text(2)) ENGINE = MergeTree() ORDER BY k;
46
+
CREATETABLEtab(k UInt64, s String, INDEX idx(s) TYPE full_text(2)) ENGINE = MergeTree() ORDER BY k SETTINGS min_bytes_for_full_part_storage =0;
0 commit comments