Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/sql/inspect/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go_library(
"issue.go",
"log_sink.go",
"progress.go",
"row_count_check.go",
"runner.go",
"span_source.go",
"table_sink.go",
Expand Down
15 changes: 15 additions & 0 deletions pkg/sql/inspect/row_count_check.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright 2025 The Cockroach Authors.
//
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package inspect

// inspectCheckRowCount defines an inspectCheck that counts rows in addition to
// its primary validation.
type inspectCheckRowCount interface {
inspectCheck

// Rows returns the number of rows counted by the check.
Rows() uint64
}
Loading