Tommy Reilly

Results 2 issues of Tommy Reilly

COPY FROM currently does type checking twice, once when reading the tuples using ParseAndRequireString and again in the optimizer using the expensive buildValues machinery. Instead of converting the already typed...

See: https://github.com/cockroachdb/cockroach/issues/85499 It has these stack trace elements: ``` github.com/cockroachdb/cockroach/bazel-out/k8-fastbuild/bin/pkg/sql/opt/memo/expr.og.go:20297: MemoizeUnion() github.com/cockroachdb/cockroach/bazel-out/k8-fastbuild/bin/pkg/sql/opt/norm/factory.og.go:10511: ConstructUnion() ``` Can we fix that to be? ``` github.com/cockroachdb/cockroach/pkg/sql/opt/memo/expr.og.go:20297: MemoizeUnion() github.com/cockroachdb/cockroach/pkg/sql/opt/norm/factory.og.go:10511: ConstructUnion() ```

C-enhancement