panic: ReturnType called on TypedExpr with empty typeAnnotation. Was the underlying Expr type-checked before asserting a type of TypedExpr? [recovered]
panic: ReturnType called on TypedExpr with empty typeAnnotation. Was the underlying Expr type-checked before asserting a type of TypedExpr?
pkg/ccl/testccl/sqlccl/sqlccl_test.TestShowCreateRedactableValues failed with artifacts on release-23.1 @ 2ee70ad63870ea3b44cb8593d0ac84d379547fc6:
Fatal error:
Stack:
Log preceding fatal error
``` * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:826 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*ComparisonExpr).Walk * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:186 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:829 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*ParenExpr).Walk * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:484 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:829 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*AndExpr).Walk * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:39 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:829 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*ParenExpr).Walk * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:484 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.WalkExpr * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:829 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*SelectClause).walkStmt * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:1717 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.walkStmt * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:2005 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*Select).walkStmt * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:1621 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.walkStmt * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:2005 * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.SimpleStmtVisit * | github.com/cockroachdb/cockroach/pkg/sql/sem/tree/walk.go:2052 * | github.com/cockroachdb/cockroach/pkg/sql.formatViewQueryTypesForDisplay * | github.com/cockroachdb/cockroach/pkg/sql/show_create_clauses.go:285 * | github.com/cockroachdb/cockroach/pkg/sql.formatViewQueryForDisplay * | github.com/cockroachdb/cockroach/pkg/sql/show_create_clauses.go:170 * | github.com/cockroachdb/cockroach/pkg/sql.ShowCreateView * | github.com/cockroachdb/cockroach/pkg/sql/show_create_clauses.go:139 * | github.com/cockroachdb/cockroach/pkg/sql.glob..func67 * | github.com/cockroachdb/cockroach/pkg/sql/crdb_internal.go:3477 * | github.com/cockroachdb/cockroach/pkg/sql.makeAllRelationsVirtualTableWithDescriptorIDIndex.func1.1 * | github.com/cockroachdb/cockroach/pkg/sql/pg_catalog.go:1165 * | github.com/cockroachdb/cockroach/pkg/sql.forEachTableDescWithTableLookupInternalFromDescriptors * | github.com/cockroachdb/cockroach/pkg/sql/information_schema.go:2662 * | github.com/cockroachdb/cockroach/pkg/sql.forEachTableDescWithTableLookupInternal * | github.com/cockroachdb/cockroach/pkg/sql/information_schema.go:2535 * | github.com/cockroachdb/cockroach/pkg/sql.forEachTableDescWithTableLookup * | github.com/cockroachdb/cockroach/pkg/sql/information_schema.go:2506 * | github.com/cockroachdb/cockroach/pkg/sql.makeAllRelationsVirtualTableWithDescriptorIDIndex.func1 * | github.com/cockroachdb/cockroach/pkg/sql/pg_catalog.go:1163 * | github.com/cockroachdb/cockroach/pkg/sql.(*virtualDefEntry).getPlanInfo.func1.1 * | github.com/cockroachdb/cockroach/pkg/sql/virtual_schema.go:677 * Wraps: (4) ReturnType called on TypedExpr with empty typeAnnotation. Was the underlying Expr type-checked before asserting a type of TypedExpr? * Error types: (1) *withstack.withStack (2) *assert.withAssertionFailure (3) *withstack.withStack (4) *errutil.leafError * ```
Parameters:
TAGS=bazel,gss,deadlock
Help
See also: How To Investigate a Go Test Failure (internal)
This test on roachdash | Improve this report!
Jira issue: CRDB-44765