Skip to content

Commit ca256da

Browse files
craig[bot]aerfrei
andcommitted
Merge #143851
143851: changefeedccl: accept "invalid escape string" as valid pg error r=KeithCh a=aerfrei The TestChangefeedRandomExpressions test could fail if sqlsmith generated a query including not_similar_to_escape with certain regexs. Treat this error the same as "invalid regular expression" and add it to the list of valid errors. Fixes: #143589 Release note: None Co-authored-by: Aerin Freilich <[email protected]>
2 parents fc46a13 + 4f82fe7 commit ca256da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/ccl/changefeedccl/changefeed_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,7 @@ func TestChangefeedRandomExpressions(t *testing.T) {
13551355
"cannot subtract infinite dates",
13561356
"regexp compilation failed",
13571357
"invalid regular expression",
1358+
"invalid escape string",
13581359
"error parsing GeoJSON",
13591360
"error parsing EWKT",
13601361
"geometry type is unsupported",

0 commit comments

Comments
 (0)