-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-roachtestO-robotOriginated from a bot.Originated from a bot.O-rsgRandom Syntax GeneratorRandom Syntax GeneratorT-sql-queriesSQL Queries TeamSQL Queries Teambranch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.
Description
SELECT width_bucket(true, '{}'); ERROR: internal error: expected *DArray, found *tree.DString
SQLSTATE: XX000
DETAIL: stack trace:
pkg/sql/sem/tree/datum.go:4811: MustBeDArray()
pkg/sql/sem/builtins/math_builtins.go:616: func778()
pkg/sql/sem/eval/expr.go:502: EvalFuncExpr()
bazel-out/darwin_arm64-fastbuild/bin/pkg/sql/sem/tree/eval_expr_generated.go:292: Eval()
pkg/sql/sem/eval/expr.go:22: Expr()
pkg/sql/opt/norm/fold_constants_funcs.go:687: FoldFunction()
bazel-out/darwin_arm64-fastbuild/bin/pkg/sql/opt/norm/factory.og.go:21645: ConstructFunction()
pkg/sql/opt/optbuilder/scalar.go:573: buildFunction()
pkg/sql/opt/optbuilder/scalar.go:331: buildScalar()
pkg/sql/opt/optbuilder/project.go:203: buildProjectionList()
pkg/sql/opt/optbuilder/select.go:1255: buildSelectClause()
Jira issue: CRDB-56315
Metadata
Metadata
Assignees
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-roachtestO-robotOriginated from a bot.Originated from a bot.O-rsgRandom Syntax GeneratorRandom Syntax GeneratorT-sql-queriesSQL Queries TeamSQL Queries Teambranch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.
Type
Projects
Status
Done