SQL Expressions: Add setting to limit length of query (#110165)
sql_expression_query_length_limit Set the maximum length of a SQL query that can be used in a SQL expression. Default is 10000 characters. A setting of 0 means no limit.
This commit is contained in:
@@ -47,11 +47,12 @@ func (s *singleTenantInstanceProvider) GetInstance(_ context.Context, _ map[stri
|
||||
|
||||
func (s *singleTenantInstance) GetSettings() clientapi.InstanceConfigurationSettings {
|
||||
return clientapi.InstanceConfigurationSettings{
|
||||
FeatureToggles: s.features,
|
||||
SQLExpressionCellLimit: s.cfg.SQLExpressionCellLimit,
|
||||
SQLExpressionOutputCellLimit: s.cfg.SQLExpressionOutputCellLimit,
|
||||
SQLExpressionTimeout: s.cfg.SQLExpressionTimeout,
|
||||
ExpressionsEnabled: s.cfg.ExpressionsEnabled,
|
||||
FeatureToggles: s.features,
|
||||
SQLExpressionCellLimit: s.cfg.SQLExpressionCellLimit,
|
||||
SQLExpressionOutputCellLimit: s.cfg.SQLExpressionOutputCellLimit,
|
||||
SQLExpressionQueryLengthLimit: s.cfg.SQLExpressionQueryLengthLimit,
|
||||
SQLExpressionTimeout: s.cfg.SQLExpressionTimeout,
|
||||
ExpressionsEnabled: s.cfg.ExpressionsEnabled,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user