pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 144
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithProfiling at line 3457
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt.func1 at line 145
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 1150
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 1817
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).makeExecPlan at line 2325
pkg/sql/plan_opt.go in pkg/sql.(*planner).makeOptimizerPlan at line 322
pkg/sql/plan_opt.go in pkg/sql.(*optPlanningCtx).runExecBuilder at line 681
pkg/sql/opt/exec/execbuilder/builder.go in pkg/sql/opt/exec/execbuilder.(*Builder).Build at line 240
pkg/sql/opt/exec/execbuilder/builder.go in pkg/sql/opt/exec/execbuilder.(*Builder).build at line 298
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildRelational at line 302
pkg/sql/opt/exec/execbuilder/statement.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildExplain at line 169
bazel-out/k8-opt/bin/pkg/sql/opt/exec/explain/explain_factory.og.go in pkg/sql/opt/exec/explain.(*Factory).ConstructExplain at line 1028
bazel-out/k8-opt/bin/pkg/sql/opt/exec/explain/plan_gist_factory.og.go in pkg/sql/opt/exec/explain.(*PlanGistFactory).ConstructExplain at line 606
pkg/sql/opt_exec_factory.go in pkg/sql.(*execFactory).ConstructExplain at line 2163
pkg/sql/opt/exec/execbuilder/statement.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildExplain.func1 at line 185
pkg/sql/opt/exec/execbuilder/builder.go in pkg/sql/opt/exec/execbuilder.(*Builder).Build at line 240
pkg/sql/opt/exec/execbuilder/builder.go in pkg/sql/opt/exec/execbuilder.(*Builder).build at line 298
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildRelational at line 290
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildWith at line 3193
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildRelational at line 290
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildWith at line 3193
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildRelational at line 211
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildGroupBy at line 1616
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildGroupByInput at line 1795
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildRelational at line 208
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildProject at line 1054
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildRelational at line 205
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildSelect at line 948
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildRelational at line 211
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildGroupBy at line 1616
pkg/sql/opt/exec/execbuilder/relational.go in pkg/sql/opt/exec/execbuilder.(*Builder).buildGroupByInput at line 1835
This issue was auto filed by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.
Sentry Link: https://cockroach-labs.sentry.io/issues/6077318782/?referrer=webhooks_plugin
Panic Message:
Stacktrace (expand for inline code snippets):
[https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L143-L145](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L143-L145) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L3456-L3458](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L3456-L3458) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L144-L146](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L144-L146) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L1149-L1151](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L1149-L1151) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L1816-L1818](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L1816-L1818) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L2324-L2326](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/conn_executor_exec.go#L2324-L2326) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/plan_opt.go#L321-L323](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/plan_opt.go#L321-L323) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/plan_opt.go#L680-L682](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/plan_opt.go#L680-L682) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L239-L241](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L239-L241) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L297-L299](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L297-L299) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L301-L303](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L301-L303) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/statement.go#L168-L170](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/statement.go#L168-L170) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/bazel-out/k8-opt/bin/pkg/sql/opt/exec/explain/explain_factory.og.go#L1027-L1029](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/bazel-out/k8-opt/bin/pkg/sql/opt/exec/explain/explain_factory.og.go#L1027-L1029) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/bazel-out/k8-opt/bin/pkg/sql/opt/exec/explain/plan_gist_factory.og.go#L605-L607](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/bazel-out/k8-opt/bin/pkg/sql/opt/exec/explain/plan_gist_factory.og.go#L605-L607) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt_exec_factory.go#L2162-L2164](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt_exec_factory.go#L2162-L2164) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/statement.go#L184-L186](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/statement.go#L184-L186) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L239-L241](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L239-L241) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L297-L299](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/builder.go#L297-L299) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L289-L291](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L289-L291) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L3192-L3194](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L3192-L3194) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L289-L291](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L289-L291) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L3192-L3194](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L3192-L3194) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L210-L212](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L210-L212) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1615-L1617](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1615-L1617) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1794-L1796](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1794-L1796) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L207-L209](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L207-L209) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1053-L1055](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1053-L1055) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L204-L206](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L204-L206) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L947-L949](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L947-L949) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L210-L212](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L210-L212) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1615-L1617](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1615-L1617) [https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1834-L1836](https://github.com/cockroachdb/cockroach/blob/a1cbd782a33a51f7500444373ccdaa81eb2ed971/pkg/sql/opt/exec/execbuilder/relational.go#L1834-L1836)Tags
Jira issue: CRDB-44723