Skip to content

Commit

Permalink
sqlsmith: don't use crdb_internal.create_join_token
Browse files Browse the repository at this point in the history
This is an internal builtin, and we probably don't get much when using
it in the sqlsmith. Currently this builtin occasionally leads to an
internal error.

Release note: None
  • Loading branch information
yuzefovich committed Apr 19, 2021
1 parent b8553b7 commit fe12893
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/internal/sqlsmith/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ var functions = func() map[tree.FunctionClass]map[oid.Oid][]function {
continue
}
if strings.Contains(def.Name, "crdb_internal.force_") ||
strings.Contains(def.Name, "crdb_internal.unsafe_") {
strings.Contains(def.Name, "crdb_internal.unsafe_") ||
strings.Contains(def.Name, "crdb_internal.create_join_token") {
continue
}
if _, ok := m[def.Class]; !ok {
Expand Down

0 comments on commit fe12893

Please sign in to comment.