fix ut of settings
@@ -32,10 +32,11 @@ async fn test_settings_table() -> Result<()> {
let result = stream.try_collect::<Vec<_>>().await?;
let expected = vec![
- "+--------------------------------+---------+---------+---------+----------------------------------------------------------------------------------------------------+--------+",
+ "+--------------------------------+---------+---------+---------+---------------------------------------------------------------------------------------------------------------------------+--------+",
"| name | value | default | level | description | type |",
- "+--------------------------------+---------+---------+---------+----------------------------------------------------------------------------------------------------+--------+",
+ "+--------------------------------+---------+---------+---------+---------------------------------------------------------------------------------------------------------------------------+--------+",
"| enable_async_insert | 0 | 0 | SESSION | Whether the client open async insert mode, default value: 0 | UInt64 |",
+ "| enable_bloom_filter_index | 0 | 0 | SESSION | Enable bloom filter index (if applicable for the underlying table engine) by setting this variable to 1, default value: 0 | UInt64 |",
"| compression | None | None | SESSION | Format compression, default value: None | String |",
"| empty_as_default | 1 | 1 | SESSION | Format empty_as_default, default value: 1 | UInt64 |",
"| enable_new_processor_framework | 1 | 1 | SESSION | Enable new processor framework if value != 0, default value: 1 | UInt64 |",
@@ -51,7 +52,7 @@ async fn test_settings_table() -> Result<()> {
"| timezone | UTC | UTC | SESSION | Timezone, default value: UTC, | String |",
"| wait_for_async_insert | 1 | 1 | SESSION | Whether the client wait for the reply of async insert, default value: 1 | UInt64 |",
"| wait_for_async_insert_timeout | 100 | 100 | SESSION | The timeout in seconds for waiting for processing of async insert, default value: 100 | UInt64 |",
- "+--------------------------------+---------+---------+---------+----------------------------------------------------------------------------------------------------+--------+",
+ "+--------------------------------+---------+---------+---------+---------------------------------------------------------------------------------------------------------------------------+--------+",
];
common_datablocks::assert_blocks_sorted_eq(expected, result.as_slice());
