ClickHouse/tests/queries/0_stateless/02724_show_indexes.reference
2024-09-16 13:53:47 +02:00

58 lines
2.6 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
tab.with.dots 1 blf_idx 1 \N 0 \N \N \N BLOOM_FILTER YES d, b
tab.with.dots 1 mm1_idx 1 \N 0 \N \N \N MINMAX YES a, c, d
tab.with.dots 1 mm2_idx 1 \N 0 \N \N \N MINMAX YES c, d, e
tab.with.dots 1 PRIMARY 1 c A 0 \N \N \N PRIMARY YES
tab.with.dots 1 PRIMARY 2 a A 0 \N \N \N PRIMARY YES
tab.with.dots 1 set_idx 1 \N 0 \N \N \N SET YES e
\' 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