@@ -87,7 +87,7 @@ const CATALOG_HIVE: &str = "hive";
87
87
/// Only adding new fields is allowed.
88
88
/// This same rules should be applied to all fields of this struct.
89
89
#[ derive( Clone , Debug , PartialEq , Eq , Serialize , Deserialize , Parser ) ]
90
- #[ clap( name = "databend-query" , about, version = & * * DATABEND_COMMIT_VERSION , author) ]
90
+ #[ clap( name = "databend-query" , about, version = & * * DATABEND_COMMIT_VERSION , author) ]
91
91
#[ serde( default ) ]
92
92
pub struct Config {
93
93
/// Run a command and quit
@@ -1399,14 +1399,14 @@ pub struct QueryConfig {
1399
1399
#[ clap( long, value_name = "VALUE" , default_value = "256" ) ]
1400
1400
pub max_active_sessions : u64 ,
1401
1401
1402
- #[ clap( long, value_name = "VALUE" , default_value = "8 " ) ]
1402
+ #[ clap( long, value_name = "VALUE" , default_value = "0 " ) ]
1403
1403
pub max_running_queries : u64 ,
1404
1404
1405
1405
/// The max total memory in bytes that can be used by this process.
1406
1406
#[ clap( long, value_name = "VALUE" , default_value = "0" ) ]
1407
1407
pub max_server_memory_usage : u64 ,
1408
1408
1409
- #[ clap( long, value_name = "VALUE" , value_parser = clap:: value_parser!( bool ) , default_value = "false" ) ]
1409
+ #[ clap( long, value_name = "VALUE" , value_parser = clap:: value_parser!( bool ) , default_value = "false" ) ]
1410
1410
pub max_memory_limit_enabled : bool ,
1411
1411
1412
1412
#[ deprecated( note = "clickhouse tcp support is deprecated" ) ]
@@ -1490,7 +1490,7 @@ pub struct QueryConfig {
1490
1490
pub rpc_client_timeout_secs : u64 ,
1491
1491
1492
1492
/// Table engine memory enabled
1493
- #[ clap( long, value_name = "VALUE" , value_parser = clap:: value_parser!( bool ) , default_value = "true" ) ]
1493
+ #[ clap( long, value_name = "VALUE" , value_parser = clap:: value_parser!( bool ) , default_value = "true" ) ]
1494
1494
pub table_engine_memory_enabled : bool ,
1495
1495
1496
1496
#[ clap( long, value_name = "VALUE" , default_value = "5000" ) ]
0 commit comments