Rename 'WhenNecessaryForUserDisplay' to 'UserDisplay'

This commit is contained in:
Tuan Pham Anh 2024-09-11 04:01:52 +00:00
parent 9c94993ee0
commit e7e46da3a3
4 changed files with 41 additions and 39 deletions

View File

@ -251,8 +251,10 @@ IMPLEMENT_SETTING_ENUM(IdentifierQuotingStyle, ErrorCodes::BAD_ARGUMENTS,
{"DoubleQuotes", IdentifierQuotingStyle::DoubleQuotes},
{"BackticksMySQL", IdentifierQuotingStyle::BackticksMySQL}})
IMPLEMENT_SETTING_ENUM(IdentifierQuotingRule, ErrorCodes::BAD_ARGUMENTS,
{{"Always", IdentifierQuotingRule::Always},
{"WhenNecessaryForUserDisplay", IdentifierQuotingRule::WhenNecessaryForUserDisplay},
{"WhenNecessary", IdentifierQuotingRule::WhenNecessary}})
IMPLEMENT_SETTING_ENUM(
IdentifierQuotingRule,
ErrorCodes::BAD_ARGUMENTS,
{{"UserDisplay", IdentifierQuotingRule::UserDisplay},
{"WhenNecessary", IdentifierQuotingRule::WhenNecessary},
{"Always", IdentifierQuotingRule::Always}})
}

View File

@ -16,8 +16,8 @@ enum class IdentifierQuotingStyle : uint8_t
enum class IdentifierQuotingRule : uint8_t
{
Always, /// Always quote identifiers
WhenNecessaryForUserDisplay, /// When the identifiers is one of the certain keywords defined in `writeProbablyQuotedStringImpl`
WhenNecessary, /// Same as `WhenNecessaryForUserDisplay`, and ambiguous identifiers passed to `writeIdentifier`
UserDisplay, /// When the identifiers is one of the certain keywords defined in `writeProbablyQuotedStringImpl`
WhenNecessary, /// When the identifiers is one of the certain keywords defined in `writeProbablyQuotedStringImpl`, and ambiguous identifiers passed to `writeIdentifier`
Always, /// Always quote identifiers
};
}

View File

@ -5,7 +5,7 @@ CREATE TABLE default.uk_prices_aggs_dest\n(\n `month` Date,\n `min_price`
CREATE MATERIALIZED VIEW default.uk_prices_aggs_view TO default.uk_prices_aggs_dest\n(\n `month` Date,\n `min_price` SimpleAggregateFunction(min, UInt32),\n `max_price` SimpleAggregateFunction(max, UInt32),\n `volume` AggregateFunction(count, UInt32),\n `avg_price` AggregateFunction(avg, UInt32)\n)\nAS WITH toStartOfMonth(date) AS month\nSELECT\n month,\n minSimpleState(price) AS min_price,\n maxSimpleState(price) AS max_price,\n countState(price) AS volume,\n avgState(price) AS avg_price\nFROM default.uk_price_paid\nGROUP BY month
CREATE DICTIONARY default.uk_mortgage_rates_dict\n(\n `date` DateTime64,\n `variable` Decimal32(2),\n `fixed` Decimal32(2),\n `bank` Decimal32(2)\n)\nPRIMARY KEY date\nSOURCE(CLICKHOUSE(TABLE \'uk_mortgage_rates\'))\nLIFETIME(MIN 0 MAX 2628000000)\nLAYOUT(COMPLEX_KEY_HASHED())
Settings: WhenNecessary & None
Settings: WhenNecessaryForUserDisplay & None
Settings: UserDisplay & None
CREATE TABLE default.uk_price_paid\n(\n price UInt32,\n date Date,\n postcode1 LowCardinality(String),\n postcode2 LowCardinality(String),\n type Enum8(\'other\' = 0, \'terraced\' = 1, \'semi-detached\' = 2, \'detached\' = 3, \'flat\' = 4),\n is_new UInt8,\n duration Enum8(\'unknown\' = 0, \'freehold\' = 1, \'leasehold\' = 2),\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n locality LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String),\n INDEX county_index county TYPE set(10) GRANULARITY 1,\n PROJECTION town_date_projection\n (\n SELECT \n town,\n date,\n price\n ORDER BY \n town,\n date\n ),\n PROJECTION handy_aggs_projection\n (\n SELECT \n avg(price),\n max(price),\n sum(price)\n GROUP BY town\n )\n)\nENGINE = MergeTree\nORDER BY (postcode1, postcode2, date)\nSETTINGS index_granularity = 8192
CREATE MATERIALIZED VIEW default.prices_by_year_view TO default.prices_by_year_dest\n(\n price UInt32,\n date Date,\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String)\n)\nAS SELECT\n price,\n date,\n addr1,\n addr2,\n street,\n town,\n district,\n county\nFROM default.uk_price_paid
CREATE TABLE default.uk_prices_aggs_dest\n(\n month Date,\n min_price SimpleAggregateFunction(min, UInt32),\n max_price SimpleAggregateFunction(max, UInt32),\n volume AggregateFunction(count, UInt32),\n avg_price AggregateFunction(avg, UInt32)\n)\nENGINE = AggregatingMergeTree\nPRIMARY KEY month\nORDER BY month\nSETTINGS index_granularity = 8192
@ -17,7 +17,7 @@ CREATE MATERIALIZED VIEW `default`.`prices_by_year_view` TO default.prices_by_ye
CREATE TABLE `default`.`uk_prices_aggs_dest`\n(\n `month` Date,\n `min_price` SimpleAggregateFunction(`min`, UInt32),\n `max_price` SimpleAggregateFunction(`max`, UInt32),\n `volume` AggregateFunction(`count`, UInt32),\n `avg_price` AggregateFunction(`avg`, UInt32)\n)\nENGINE = AggregatingMergeTree\nPRIMARY KEY `month`\nORDER BY `month`\nSETTINGS index_granularity = 8192
CREATE MATERIALIZED VIEW `default`.`uk_prices_aggs_view` TO default.uk_prices_aggs_dest\n(\n `month` Date,\n `min_price` SimpleAggregateFunction(`min`, UInt32),\n `max_price` SimpleAggregateFunction(`max`, UInt32),\n `volume` AggregateFunction(`count`, UInt32),\n `avg_price` AggregateFunction(`avg`, UInt32)\n)\nAS WITH toStartOfMonth(`date`) AS `month`\nSELECT\n `month`,\n minSimpleState(`price`) AS `min_price`,\n maxSimpleState(`price`) AS `max_price`,\n countState(`price`) AS `volume`,\n avgState(`price`) AS `avg_price`\nFROM `default`.`uk_price_paid`\nGROUP BY `month`
CREATE DICTIONARY `default`.`uk_mortgage_rates_dict`\n(\n `date` DateTime64,\n `variable` Decimal32(2),\n `fixed` Decimal32(2),\n `bank` Decimal32(2)\n)\nPRIMARY KEY `date`\nSOURCE(CLICKHOUSE(TABLE \'uk_mortgage_rates\'))\nLIFETIME(MIN 0 MAX 2628000000)\nLAYOUT(COMPLEX_KEY_HASHED())
Settings: WhenNecessaryForUserDisplay & Backticks
Settings: UserDisplay & Backticks
CREATE TABLE default.uk_price_paid\n(\n price UInt32,\n date Date,\n postcode1 LowCardinality(String),\n postcode2 LowCardinality(String),\n type Enum8(\'other\' = 0, \'terraced\' = 1, \'semi-detached\' = 2, \'detached\' = 3, \'flat\' = 4),\n is_new UInt8,\n duration Enum8(\'unknown\' = 0, \'freehold\' = 1, \'leasehold\' = 2),\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n locality LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String),\n INDEX county_index county TYPE set(10) GRANULARITY 1,\n PROJECTION town_date_projection\n (\n SELECT \n town,\n date,\n price\n ORDER BY \n town,\n date\n ),\n PROJECTION handy_aggs_projection\n (\n SELECT \n avg(price),\n max(price),\n sum(price)\n GROUP BY town\n )\n)\nENGINE = MergeTree\nORDER BY (postcode1, postcode2, date)\nSETTINGS index_granularity = 8192
CREATE MATERIALIZED VIEW default.prices_by_year_view TO default.prices_by_year_dest\n(\n price UInt32,\n date Date,\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String)\n)\nAS SELECT\n price,\n date,\n addr1,\n addr2,\n street,\n town,\n district,\n county\nFROM default.uk_price_paid
CREATE TABLE default.uk_prices_aggs_dest\n(\n month Date,\n min_price SimpleAggregateFunction(min, UInt32),\n max_price SimpleAggregateFunction(max, UInt32),\n volume AggregateFunction(count, UInt32),\n avg_price AggregateFunction(avg, UInt32)\n)\nENGINE = AggregatingMergeTree\nPRIMARY KEY month\nORDER BY month\nSETTINGS index_granularity = 8192
@ -35,7 +35,7 @@ CREATE MATERIALIZED VIEW "default"."prices_by_year_view" TO default.prices_by_ye
CREATE TABLE "default"."uk_prices_aggs_dest"\n(\n "month" Date,\n "min_price" SimpleAggregateFunction("min", UInt32),\n "max_price" SimpleAggregateFunction("max", UInt32),\n "volume" AggregateFunction("count", UInt32),\n "avg_price" AggregateFunction("avg", UInt32)\n)\nENGINE = AggregatingMergeTree\nPRIMARY KEY "month"\nORDER BY "month"\nSETTINGS index_granularity = 8192
CREATE MATERIALIZED VIEW "default"."uk_prices_aggs_view" TO default.uk_prices_aggs_dest\n(\n "month" Date,\n "min_price" SimpleAggregateFunction("min", UInt32),\n "max_price" SimpleAggregateFunction("max", UInt32),\n "volume" AggregateFunction("count", UInt32),\n "avg_price" AggregateFunction("avg", UInt32)\n)\nAS WITH toStartOfMonth("date") AS "month"\nSELECT\n "month",\n minSimpleState("price") AS "min_price",\n maxSimpleState("price") AS "max_price",\n countState("price") AS "volume",\n avgState("price") AS "avg_price"\nFROM "default"."uk_price_paid"\nGROUP BY "month"
CREATE DICTIONARY "default"."uk_mortgage_rates_dict"\n(\n "date" DateTime64,\n "variable" Decimal32(2),\n "fixed" Decimal32(2),\n "bank" Decimal32(2)\n)\nPRIMARY KEY "date"\nSOURCE(CLICKHOUSE(TABLE \'uk_mortgage_rates\'))\nLIFETIME(MIN 0 MAX 2628000000)\nLAYOUT(COMPLEX_KEY_HASHED())
Settings: WhenNecessaryForUserDisplay & DoubleQuotes
Settings: UserDisplay & DoubleQuotes
CREATE TABLE default.uk_price_paid\n(\n price UInt32,\n date Date,\n postcode1 LowCardinality(String),\n postcode2 LowCardinality(String),\n type Enum8(\'other\' = 0, \'terraced\' = 1, \'semi-detached\' = 2, \'detached\' = 3, \'flat\' = 4),\n is_new UInt8,\n duration Enum8(\'unknown\' = 0, \'freehold\' = 1, \'leasehold\' = 2),\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n locality LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String),\n INDEX county_index county TYPE set(10) GRANULARITY 1,\n PROJECTION town_date_projection\n (\n SELECT \n town,\n date,\n price\n ORDER BY \n town,\n date\n ),\n PROJECTION handy_aggs_projection\n (\n SELECT \n avg(price),\n max(price),\n sum(price)\n GROUP BY town\n )\n)\nENGINE = MergeTree\nORDER BY (postcode1, postcode2, date)\nSETTINGS index_granularity = 8192
CREATE MATERIALIZED VIEW default.prices_by_year_view TO default.prices_by_year_dest\n(\n price UInt32,\n date Date,\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String)\n)\nAS SELECT\n price,\n date,\n addr1,\n addr2,\n street,\n town,\n district,\n county\nFROM default.uk_price_paid
CREATE TABLE default.uk_prices_aggs_dest\n(\n month Date,\n min_price SimpleAggregateFunction(min, UInt32),\n max_price SimpleAggregateFunction(max, UInt32),\n volume AggregateFunction(count, UInt32),\n avg_price AggregateFunction(avg, UInt32)\n)\nENGINE = AggregatingMergeTree\nPRIMARY KEY month\nORDER BY month\nSETTINGS index_granularity = 8192
@ -53,7 +53,7 @@ CREATE MATERIALIZED VIEW `default`.`prices_by_year_view` TO default.prices_by_ye
CREATE TABLE `default`.`uk_prices_aggs_dest`\n(\n `month` Date,\n `min_price` SimpleAggregateFunction(`min`, UInt32),\n `max_price` SimpleAggregateFunction(`max`, UInt32),\n `volume` AggregateFunction(`count`, UInt32),\n `avg_price` AggregateFunction(`avg`, UInt32)\n)\nENGINE = AggregatingMergeTree\nPRIMARY KEY `month`\nORDER BY `month`\nSETTINGS index_granularity = 8192
CREATE MATERIALIZED VIEW `default`.`uk_prices_aggs_view` TO default.uk_prices_aggs_dest\n(\n `month` Date,\n `min_price` SimpleAggregateFunction(`min`, UInt32),\n `max_price` SimpleAggregateFunction(`max`, UInt32),\n `volume` AggregateFunction(`count`, UInt32),\n `avg_price` AggregateFunction(`avg`, UInt32)\n)\nAS WITH toStartOfMonth(`date`) AS `month`\nSELECT\n `month`,\n minSimpleState(`price`) AS `min_price`,\n maxSimpleState(`price`) AS `max_price`,\n countState(`price`) AS `volume`,\n avgState(`price`) AS `avg_price`\nFROM `default`.`uk_price_paid`\nGROUP BY `month`
CREATE DICTIONARY `default`.`uk_mortgage_rates_dict`\n(\n `date` DateTime64,\n `variable` Decimal32(2),\n `fixed` Decimal32(2),\n `bank` Decimal32(2)\n)\nPRIMARY KEY `date`\nSOURCE(CLICKHOUSE(TABLE \'uk_mortgage_rates\'))\nLIFETIME(MIN 0 MAX 2628000000)\nLAYOUT(COMPLEX_KEY_HASHED())
Settings: WhenNecessaryForUserDisplay & BackticksMySQL
Settings: UserDisplay & BackticksMySQL
CREATE TABLE default.uk_price_paid\n(\n price UInt32,\n date Date,\n postcode1 LowCardinality(String),\n postcode2 LowCardinality(String),\n type Enum8(\'other\' = 0, \'terraced\' = 1, \'semi-detached\' = 2, \'detached\' = 3, \'flat\' = 4),\n is_new UInt8,\n duration Enum8(\'unknown\' = 0, \'freehold\' = 1, \'leasehold\' = 2),\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n locality LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String),\n INDEX county_index county TYPE set(10) GRANULARITY 1,\n PROJECTION town_date_projection\n (\n SELECT \n town,\n date,\n price\n ORDER BY \n town,\n date\n ),\n PROJECTION handy_aggs_projection\n (\n SELECT \n avg(price),\n max(price),\n sum(price)\n GROUP BY town\n )\n)\nENGINE = MergeTree\nORDER BY (postcode1, postcode2, date)\nSETTINGS index_granularity = 8192
CREATE MATERIALIZED VIEW default.prices_by_year_view TO default.prices_by_year_dest\n(\n price UInt32,\n date Date,\n addr1 String,\n addr2 String,\n street LowCardinality(String),\n town LowCardinality(String),\n district LowCardinality(String),\n county LowCardinality(String)\n)\nAS SELECT\n price,\n date,\n addr1,\n addr2,\n street,\n town,\n district,\n county\nFROM default.uk_price_paid
CREATE TABLE default.uk_prices_aggs_dest\n(\n month Date,\n min_price SimpleAggregateFunction(min, UInt32),\n max_price SimpleAggregateFunction(max, UInt32),\n volume AggregateFunction(count, UInt32),\n avg_price AggregateFunction(avg, UInt32)\n)\nENGINE = AggregatingMergeTree\nPRIMARY KEY month\nORDER BY month\nSETTINGS index_granularity = 8192

View File

@ -160,31 +160,31 @@ SETTINGS
output_format_identifier_quoting_rule='WhenNecessary',
output_format_identifier_quoting_style='None'; -- { serverError BAD_ARGUMENTS}
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay', output_format_identifier_quoting_style='None'
SELECT('Settings: WhenNecessaryForUserDisplay & None');
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='UserDisplay', output_format_identifier_quoting_style='None'
SELECT('Settings: UserDisplay & None');
SHOW CREATE TABLE uk_price_paid
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='None';
SHOW CREATE VIEW prices_by_year_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='None';
SHOW CREATE uk_prices_aggs_dest
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='None';
SHOW CREATE VIEW uk_prices_aggs_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='None';
SHOW CREATE DICTIONARY uk_mortgage_rates_dict
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='None';
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='Always', output_format_identifier_quoting_style='Backticks'
@ -214,31 +214,31 @@ SETTINGS
output_format_identifier_quoting_rule='Always',
output_format_identifier_quoting_style='Backticks';
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay', output_format_identifier_quoting_style='Backticks'
SELECT('Settings: WhenNecessaryForUserDisplay & Backticks');
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='UserDisplay', output_format_identifier_quoting_style='Backticks'
SELECT('Settings: UserDisplay & Backticks');
SHOW CREATE TABLE uk_price_paid
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='Backticks';
SHOW CREATE VIEW prices_by_year_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='Backticks';
SHOW CREATE uk_prices_aggs_dest
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='Backticks';
SHOW CREATE VIEW uk_prices_aggs_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='Backticks';
SHOW CREATE DICTIONARY uk_mortgage_rates_dict
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='Backticks';
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='WhenNecessary', output_format_identifier_quoting_style='Backticks'
@ -295,31 +295,31 @@ SETTINGS
output_format_identifier_quoting_rule='Always',
output_format_identifier_quoting_style='DoubleQuotes';
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay', output_format_identifier_quoting_style='DoubleQuotes'
SELECT('Settings: WhenNecessaryForUserDisplay & DoubleQuotes');
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='UserDisplay', output_format_identifier_quoting_style='DoubleQuotes'
SELECT('Settings: UserDisplay & DoubleQuotes');
SHOW CREATE TABLE uk_price_paid
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='DoubleQuotes';
SHOW CREATE VIEW prices_by_year_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='DoubleQuotes';
SHOW CREATE uk_prices_aggs_dest
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='DoubleQuotes';
SHOW CREATE VIEW uk_prices_aggs_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='DoubleQuotes';
SHOW CREATE DICTIONARY uk_mortgage_rates_dict
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='DoubleQuotes';
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='WhenNecessary', output_format_identifier_quoting_style='DoubleQuotes'
@ -376,31 +376,31 @@ SETTINGS
output_format_identifier_quoting_rule='Always',
output_format_identifier_quoting_style='BackticksMySQL';
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay', output_format_identifier_quoting_style='BackticksMySQL'
SELECT('Settings: WhenNecessaryForUserDisplay & BackticksMySQL');
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='UserDisplay', output_format_identifier_quoting_style='BackticksMySQL'
SELECT('Settings: UserDisplay & BackticksMySQL');
SHOW CREATE TABLE uk_price_paid
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='BackticksMySQL';
SHOW CREATE VIEW prices_by_year_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='BackticksMySQL';
SHOW CREATE uk_prices_aggs_dest
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='BackticksMySQL';
SHOW CREATE VIEW uk_prices_aggs_view
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='BackticksMySQL';
SHOW CREATE DICTIONARY uk_mortgage_rates_dict
SETTINGS
output_format_identifier_quoting_rule='WhenNecessaryForUserDisplay',
output_format_identifier_quoting_rule='UserDisplay',
output_format_identifier_quoting_style='BackticksMySQL';
-- Show tables, views, dictionaries with output_format_identifier_quoting_rule='WhenNecessary', output_format_identifier_quoting_style='BackticksMySQL'