2023-09-29 10:57:45 +00:00
|
|
|
DROP TABLE IF EXISTS t_describe_options;
|
|
|
|
|
2024-02-29 18:01:54 +00:00
|
|
|
SET print_pretty_type_names = 0;
|
|
|
|
|
2023-09-29 10:57:45 +00:00
|
|
|
CREATE TABLE t_describe_options (
|
|
|
|
id UInt64 COMMENT 'index column',
|
|
|
|
arr Array(UInt64) DEFAULT [10, 20] CODEC(ZSTD),
|
|
|
|
t Tuple(a String, b UInt64) DEFAULT ('foo', 0) CODEC(ZSTD))
|
|
|
|
ENGINE = MergeTree
|
|
|
|
ORDER BY id;
|
|
|
|
|
|
|
|
-- { echoOn }
|
|
|
|
|
|
|
|
SET describe_compact_output = 0, describe_include_virtual_columns = 0, describe_include_subcolumns = 0;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
SET describe_compact_output = 0, describe_include_virtual_columns = 0, describe_include_subcolumns = 1;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
SET describe_compact_output = 0, describe_include_virtual_columns = 1, describe_include_subcolumns = 0;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
SET describe_compact_output = 0, describe_include_virtual_columns = 1, describe_include_subcolumns = 1;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
SET describe_compact_output = 1, describe_include_virtual_columns = 0, describe_include_subcolumns = 0;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
SET describe_compact_output = 1, describe_include_virtual_columns = 0, describe_include_subcolumns = 1;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
SET describe_compact_output = 1, describe_include_virtual_columns = 1, describe_include_subcolumns = 0;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
SET describe_compact_output = 1, describe_include_virtual_columns = 1, describe_include_subcolumns = 1;
|
|
|
|
|
2024-03-27 22:38:00 +00:00
|
|
|
DESCRIBE TABLE t_describe_options;
|
|
|
|
DESCRIBE remote(test_shard_localhost, currentDatabase(), t_describe_options);
|
2023-09-29 10:57:45 +00:00
|
|
|
|
|
|
|
-- { echoOff }
|
|
|
|
|
|
|
|
DROP TABLE t_describe_options;
|