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:
Kyle Brandt
2025-08-27 12:08:25 -04:00
committed by GitHub
parent 74cfe7b803
commit dd4ffc9918
11 changed files with 88 additions and 18 deletions
@@ -21,11 +21,12 @@ type QueryDataClient interface {
}
type InstanceConfigurationSettings struct {
FeatureToggles featuremgmt.FeatureToggles
SQLExpressionCellLimit int64
SQLExpressionOutputCellLimit int64
SQLExpressionTimeout time.Duration
ExpressionsEnabled bool
FeatureToggles featuremgmt.FeatureToggles
SQLExpressionCellLimit int64
SQLExpressionOutputCellLimit int64
SQLExpressionQueryLengthLimit int64
SQLExpressionTimeout time.Duration
ExpressionsEnabled bool
}
type Instance interface {