Skip to content

Commit

Permalink
sql/randgen: fix typo in comment
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
mgartner committed Aug 7, 2023
1 parent 9fd51a0 commit 25c344c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sql/randgen/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ func randExpr(
}
}
if len(cols) > 1 {
// If any of the columns are nullable, set the computed column to be
// nullable.
// If any of the columns are nullable, the resulting expression
// could be null.
for _, x := range cols {
if x.Nullable.Nullability != tree.NotNull {
nullability = x.Nullable.Nullability
Expand Down

0 comments on commit 25c344c

Please sign in to comment.