We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6f1ddc + d0bc358 commit 0f17d9fCopy full SHA for 0f17d9f
pkg/sql/sem/tree/expr_test.go
@@ -75,10 +75,13 @@ func TestStringConcat(t *testing.T) {
75
defer leaktest.AfterTest(t)()
76
defer log.Scope(t).Close(t)
77
rng, _ := randutil.NewTestRand()
78
+
79
+ tuple := randgen.RandTupleFromSlice(rng, types.Scalar)
80
81
ctx := context.Background()
82
evalCtx := eval.MakeTestingEvalContext(cluster.MakeTestingClusterSettings())
83
defer evalCtx.Stop(ctx)
- for _, typ := range append([]*types.T{types.AnyTuple}, types.Scalar...) {
84
+ for _, typ := range append([]*types.T{tuple}, types.Scalar...) {
85
// Strings and Bytes are handled specially.
86
if typ.Identical(types.String) || typ.Identical(types.Bytes) {
87
continue
0 commit comments