ClickHouse/tests/queries/0_stateless/02724_show_indexes.reference
2024-03-10 14:41:29 +00:00

52 lines
2.2 KiB
Plaintext

--- Aliases of SHOW INDEX
tbl 1 blf_idx 1 \N 0 \N \N \N BLOOM_FILTER YES d, b
tbl 1 mm1_idx 1 \N 0 \N \N \N MINMAX YES a, c, d
tbl 1 mm2_idx 1 \N 0 \N \N \N MINMAX YES c, d, e
tbl 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
tbl 1 PRIMARY 2 a A 0 \N \N \N PRIMARY YES
tbl 1 set_idx 1 \N 0 \N \N \N SET YES e
tbl 1 blf_idx 1 \N 0 \N \N \N BLOOM_FILTER YES d, b
tbl 1 mm1_idx 1 \N 0 \N \N \N MINMAX YES a, c, d
tbl 1 mm2_idx 1 \N 0 \N \N \N MINMAX YES c, d, e
tbl 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
tbl 1 PRIMARY 2 a A 0 \N \N \N PRIMARY YES
tbl 1 set_idx 1 \N 0 \N \N \N SET YES e
tbl 1 blf_idx 1 \N 0 \N \N \N BLOOM_FILTER YES d, b
tbl 1 mm1_idx 1 \N 0 \N \N \N MINMAX YES a, c, d
tbl 1 mm2_idx 1 \N 0 \N \N \N MINMAX YES c, d, e
tbl 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
tbl 1 PRIMARY 2 a A 0 \N \N \N PRIMARY YES
tbl 1 set_idx 1 \N 0 \N \N \N SET YES e
tbl 1 blf_idx 1 \N 0 \N \N \N BLOOM_FILTER YES d, b
tbl 1 mm1_idx 1 \N 0 \N \N \N MINMAX YES a, c, d
tbl 1 mm2_idx 1 \N 0 \N \N \N MINMAX YES c, d, e
tbl 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
tbl 1 PRIMARY 2 a A 0 \N \N \N PRIMARY YES
tbl 1 set_idx 1 \N 0 \N \N \N SET YES e
--- EXTENDED
tbl 1 blf_idx 1 \N 0 \N \N \N BLOOM_FILTER YES d, b
tbl 1 mm1_idx 1 \N 0 \N \N \N MINMAX YES a, c, d
tbl 1 mm2_idx 1 \N 0 \N \N \N MINMAX YES c, d, e
tbl 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
tbl 1 PRIMARY 2 a A 0 \N \N \N PRIMARY YES
tbl 1 set_idx 1 \N 0 \N \N \N SET YES e
--- WHERE
--- Check with weird table names
$4@^7 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
NULL 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
\' 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
\' 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
--- Original table
tbl 1 blf_idx 1 \N 0 \N \N \N BLOOM_FILTER YES d, b
tbl 1 mm1_idx 1 \N 0 \N \N \N MINMAX YES a, c, d
tbl 1 mm2_idx 1 \N 0 \N \N \N MINMAX YES c, d, e
tbl 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
tbl 1 PRIMARY 2 a A 0 \N \N \N PRIMARY YES
tbl 1 set_idx 1 \N 0 \N \N \N SET YES e
--- Equally named table in other database
tbl 1 mmi_idx 1 \N 0 \N \N \N MINMAX YES b
tbl 1 PRIMARY 1 a A 0 \N \N \N PRIMARY YES
--- Short form
tbl 1 mmi_idx 1 \N 0 \N \N \N MINMAX YES b
tbl 1 PRIMARY 1 a A 0 \N \N \N PRIMARY YES