Skip to content

Commit

Permalink
valueside: use redact type name when can't decode
Browse files Browse the repository at this point in the history
Epic: None

Release note: None
  • Loading branch information
yuzefovich committed Jul 27, 2023
1 parent 4413ec7 commit 357fe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/rowenc/valueside/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func DecodeUntaggedDatum(
case types.VoidFamily:
return a.NewDVoid(), buf, nil
default:
return nil, buf, errors.Errorf("couldn't decode type %s", t)
return nil, buf, errors.Errorf("couldn't decode type %s", t.SQLStringForError())
}
}

Expand Down

0 comments on commit 357fe37

Please sign in to comment.