Skip to content

Commit

Permalink
colexec,bazel: pin the types dependency in generated files
Browse files Browse the repository at this point in the history
This is a workaround for bazel auto-generated code. goimports does not
automatically pick up the right packages when run within the bazel
sandbox, so we have to pin it by hand.

Release note: None
  • Loading branch information
irfansharif committed Jan 28, 2021
1 parent 32bc171 commit 0d79e70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sql/colexec/crossjoiner.eg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkg/sql/colexec/crossjoiner_tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
// pick up the right packages when run within the bazel sandbox.
var (
_ = typeconv.DatumVecCanonicalTypeFamily
_ = types.BoolFamily
)

// buildFromLeftInput builds part of the output of a cross join that comes from
Expand Down

0 comments on commit 0d79e70

Please sign in to comment.