Sentry: error.go:20: unexpected error: forecasted histogram had first bucket with non-zero NumRange or DistinctRange: [{"name":"__forecast__","created_at":"2024-11-15 17:38:40.3898025 +0000 UTC","colu... #135302
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 963
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 2263
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2346
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func1 at line 2341
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 140
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithProfiling at line 3449
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt.func1 at line 141
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 1187
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 1980
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 2433
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll at line 1702
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3 at line 1699
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 1985
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 923
pkg/sql/colflow/vectorized_flow.go in pkg/sql/colflow.(*vectorizedFlow).Run at line 300
pkg/sql/flowinfra/flow.go in pkg/sql/flowinfra.(*FlowBase).Run at line 574
pkg/sql/execinfra/processorsbase.go in pkg/sql/execinfra.(*ProcessorBaseNoHelper).Run at line 726
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*FlowCoordinator).Start at line 110
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 147
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*FlowCoordinator).Start.func1 at line 111
pkg/sql/plan_node_to_row_source.go in pkg/sql.(*planNodeToRowSource).Start at line 166
pkg/sql/plan.go in pkg/sql.startExec at line 522
pkg/sql/walk.go in pkg/sql.walkPlan at line 38
pkg/sql/walk.go in pkg/sql.(*planVisitor).visit at line 74
pkg/sql/walk.go in pkg/sql.(*planVisitor).visitInternal at line 294
pkg/sql/walk.go in pkg/sql.(*planVisitor).visitInternal.func1 at line 107
pkg/sql/plan.go in pkg/sql.startExec.func2 at line 519
pkg/sql/delayed.go in pkg/sql.(*delayedNode).startExec at line 45
pkg/sql/show_stats.go in pkg/sql.(*planner).ShowTableStats.func1 at line 212
pkg/sql/stats/forecast.go in pkg/sql/stats.ForecastTableStatistics at line 148
pkg/sql/stats/forecast.go in pkg/sql/stats.forecastColumnStatistics at line 381
pkg/util/errorutil/error.go in pkg/util/errorutil.UnexpectedWithIssueErrorf at line 21
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 963
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 2263
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2346
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func1 at line 2341
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 140
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithProfiling at line 3449
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt.func1 at line 141
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 1187
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 1980
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 2433
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll at line 1702
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3 at line 1699
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 1985
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 923
pkg/sql/colflow/vectorized_flow.go in pkg/sql/colflow.(*vectorizedFlow).Run at line 300
pkg/sql/flowinfra/flow.go in pkg/sql/flowinfra.(*FlowBase).Run at line 574
pkg/sql/execinfra/processorsbase.go in pkg/sql/execinfra.(*ProcessorBaseNoHelper).Run at line 726
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*FlowCoordinator).Start at line 110
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 147
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*FlowCoordinator).Start.func1 at line 111
pkg/sql/plan_node_to_row_source.go in pkg/sql.(*planNodeToRowSource).Start at line 166
pkg/sql/plan.go in pkg/sql.startExec at line 522
pkg/sql/walk.go in pkg/sql.walkPlan at line 38
pkg/sql/walk.go in pkg/sql.(*planVisitor).visit at line 74
pkg/sql/walk.go in pkg/sql.(*planVisitor).visitInternal at line 294
pkg/sql/walk.go in pkg/sql.(*planVisitor).visitInternal.func1 at line 107
pkg/sql/plan.go in pkg/sql.startExec.func2 at line 519
pkg/sql/delayed.go in pkg/sql.(*delayedNode).startExec at line 45
pkg/sql/show_stats.go in pkg/sql.(*planner).ShowTableStats.func1 at line 212
pkg/sql/stats/forecast.go in pkg/sql/stats.ForecastTableStatistics at line 148
pkg/sql/stats/forecast.go in pkg/sql/stats.forecastColumnStatistics at line 381
pkg/util/errorutil/error.go in pkg/util/errorutil.UnexpectedWithIssueErrorf at line 20
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/6067510721/?referrer=webhooks_plugin
Panic Message:
Stacktrace (expand for inline code snippets):
[pkg/sql/conn_executor.go#L962-L964](pkg/sql/conn_executor.go#L962-L964) [pkg/sql/conn_executor.go#L2262-L2264](pkg/sql/conn_executor.go#L2262-L2264) [pkg/sql/conn_executor.go#L2345-L2347](pkg/sql/conn_executor.go#L2345-L2347) [pkg/sql/conn_executor.go#L2340-L2342](pkg/sql/conn_executor.go#L2340-L2342) [pkg/sql/conn_executor_exec.go#L139-L141](pkg/sql/conn_executor_exec.go#L139-L141) [pkg/sql/conn_executor_exec.go#L3448-L3450](pkg/sql/conn_executor_exec.go#L3448-L3450) [pkg/sql/conn_executor_exec.go#L140-L142](pkg/sql/conn_executor_exec.go#L140-L142) [pkg/sql/conn_executor_exec.go#L1186-L1188](pkg/sql/conn_executor_exec.go#L1186-L1188) [pkg/sql/conn_executor_exec.go#L1979-L1981](pkg/sql/conn_executor_exec.go#L1979-L1981) [pkg/sql/conn_executor_exec.go#L2432-L2434](pkg/sql/conn_executor_exec.go#L2432-L2434) [pkg/sql/distsql_running.go#L1701-L1703](pkg/sql/distsql_running.go#L1701-L1703) [pkg/sql/distsql_running.go#L1698-L1700](pkg/sql/distsql_running.go#L1698-L1700) [pkg/sql/distsql_running.go#L1984-L1986](pkg/sql/distsql_running.go#L1984-L1986) [pkg/sql/distsql_running.go#L922-L924](pkg/sql/distsql_running.go#L922-L924) [pkg/sql/colflow/vectorized_flow.go#L299-L301](pkg/sql/colflow/vectorized_flow.go#L299-L301) [pkg/sql/flowinfra/flow.go#L573-L575](pkg/sql/flowinfra/flow.go#L573-L575) [pkg/sql/execinfra/processorsbase.go#L725-L727](pkg/sql/execinfra/processorsbase.go#L725-L727) [pkg/sql/colflow/flow_coordinator.go#L109-L111](pkg/sql/colflow/flow_coordinator.go#L109-L111) [pkg/sql/colexecerror/error.go#L146-L148](pkg/sql/colexecerror/error.go#L146-L148) [pkg/sql/colflow/flow_coordinator.go#L110-L112](pkg/sql/colflow/flow_coordinator.go#L110-L112) [pkg/sql/plan_node_to_row_source.go#L165-L167](pkg/sql/plan_node_to_row_source.go#L165-L167) [pkg/sql/plan.go#L521-L523](pkg/sql/plan.go#L521-L523) [pkg/sql/walk.go#L37-L39](pkg/sql/walk.go#L37-L39) [pkg/sql/walk.go#L73-L75](pkg/sql/walk.go#L73-L75) [pkg/sql/walk.go#L293-L295](pkg/sql/walk.go#L293-L295) [pkg/sql/walk.go#L106-L108](pkg/sql/walk.go#L106-L108) [pkg/sql/plan.go#L518-L520](pkg/sql/plan.go#L518-L520) [pkg/sql/delayed.go#L44-L46](pkg/sql/delayed.go#L44-L46) [pkg/sql/show_stats.go#L211-L213](pkg/sql/show_stats.go#L211-L213) [pkg/sql/stats/forecast.go#L147-L149](pkg/sql/stats/forecast.go#L147-L149) [pkg/sql/stats/forecast.go#L380-L382](pkg/sql/stats/forecast.go#L380-L382) [pkg/util/errorutil/error.go#L20-L22](pkg/util/errorutil/error.go#L20-L22) [pkg/sql/conn_executor.go#L962-L964](pkg/sql/conn_executor.go#L962-L964) [pkg/sql/conn_executor.go#L2262-L2264](pkg/sql/conn_executor.go#L2262-L2264) [pkg/sql/conn_executor.go#L2345-L2347](pkg/sql/conn_executor.go#L2345-L2347) [pkg/sql/conn_executor.go#L2340-L2342](pkg/sql/conn_executor.go#L2340-L2342) [pkg/sql/conn_executor_exec.go#L139-L141](pkg/sql/conn_executor_exec.go#L139-L141) [pkg/sql/conn_executor_exec.go#L3448-L3450](pkg/sql/conn_executor_exec.go#L3448-L3450) [pkg/sql/conn_executor_exec.go#L140-L142](pkg/sql/conn_executor_exec.go#L140-L142) [pkg/sql/conn_executor_exec.go#L1186-L1188](pkg/sql/conn_executor_exec.go#L1186-L1188) [pkg/sql/conn_executor_exec.go#L1979-L1981](pkg/sql/conn_executor_exec.go#L1979-L1981) [pkg/sql/conn_executor_exec.go#L2432-L2434](pkg/sql/conn_executor_exec.go#L2432-L2434) [pkg/sql/distsql_running.go#L1701-L1703](pkg/sql/distsql_running.go#L1701-L1703) [pkg/sql/distsql_running.go#L1698-L1700](pkg/sql/distsql_running.go#L1698-L1700) [pkg/sql/distsql_running.go#L1984-L1986](pkg/sql/distsql_running.go#L1984-L1986) [pkg/sql/distsql_running.go#L922-L924](pkg/sql/distsql_running.go#L922-L924) [pkg/sql/colflow/vectorized_flow.go#L299-L301](pkg/sql/colflow/vectorized_flow.go#L299-L301) [pkg/sql/flowinfra/flow.go#L573-L575](pkg/sql/flowinfra/flow.go#L573-L575) [pkg/sql/execinfra/processorsbase.go#L725-L727](pkg/sql/execinfra/processorsbase.go#L725-L727) [pkg/sql/colflow/flow_coordinator.go#L109-L111](pkg/sql/colflow/flow_coordinator.go#L109-L111) [pkg/sql/colexecerror/error.go#L146-L148](pkg/sql/colexecerror/error.go#L146-L148) [pkg/sql/colflow/flow_coordinator.go#L110-L112](pkg/sql/colflow/flow_coordinator.go#L110-L112) [pkg/sql/plan_node_to_row_source.go#L165-L167](pkg/sql/plan_node_to_row_source.go#L165-L167) [pkg/sql/plan.go#L521-L523](pkg/sql/plan.go#L521-L523) [pkg/sql/walk.go#L37-L39](pkg/sql/walk.go#L37-L39) [pkg/sql/walk.go#L73-L75](pkg/sql/walk.go#L73-L75) [pkg/sql/walk.go#L293-L295](pkg/sql/walk.go#L293-L295) [pkg/sql/walk.go#L106-L108](pkg/sql/walk.go#L106-L108) [pkg/sql/plan.go#L518-L520](pkg/sql/plan.go#L518-L520) [pkg/sql/delayed.go#L44-L46](pkg/sql/delayed.go#L44-L46) [pkg/sql/show_stats.go#L211-L213](pkg/sql/show_stats.go#L211-L213) [pkg/sql/stats/forecast.go#L147-L149](pkg/sql/stats/forecast.go#L147-L149) [pkg/sql/stats/forecast.go#L380-L382](pkg/sql/stats/forecast.go#L380-L382) [pkg/util/errorutil/error.go#L19-L21](pkg/util/errorutil/error.go#L19-L21)Tags
Jira issue: CRDB-44445