Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cockroach: don't import randgen in binary #74128

Merged
merged 1 commit into from Dec 21, 2021

Conversation

RaduBerinde
Copy link
Member

The sql/randgen package creates a lot of global datums, some of
which use geospatial and require the loading of geospatial data. This
package is meant for testing and should not be part of the cockroach
binary.

This change removes the non-testing uses of randgen.

Tested via go list -deps ./pkg/cmd/cockroach. Note that the updated
test is ineffectual for now (tracked by #74119).

Informs #74120.

Release note: None

@RaduBerinde RaduBerinde requested review from dt and otan December 21, 2021 06:53
@RaduBerinde RaduBerinde requested review from a team as code owners December 21, 2021 06:53
@RaduBerinde RaduBerinde requested review from shermanCRL and removed request for a team December 21, 2021 06:53
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde
Copy link
Member Author

TFTRs!

bors r+

@RaduBerinde
Copy link
Member Author

bors r-

@craig
Copy link
Contributor

craig bot commented Dec 21, 2021

Canceled.

The `sql/randgen` package creates a lot of global datums, some of
which use geospatial and require the loading of geospatial data. This
package is meant for testing and should not be part of the cockroach
binary.

This change removes the non-testing uses of randgen.

Tested via `go list -deps ./pkg/cmd/cockroach`. Note that the updated
test is ineffectual for now (tracked by cockroachdb#74119).

Informs cockroachdb#74120.

Release note: None
@RaduBerinde
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented Dec 21, 2021

This PR was included in a batch that was canceled, it will be automatically retried

@craig
Copy link
Contributor

craig bot commented Dec 21, 2021

Build succeeded:

@craig craig bot merged commit 299abc8 into cockroachdb:master Dec 21, 2021
@RaduBerinde RaduBerinde deleted the remove-randgen-from-binary branch December 21, 2021 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants