Skip to content

sql/sem/builtins: remove dependency of builtins on sql/catalog/descs#82433

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:ajwerner/break-catalog-dep-from-builtins
Jun 6, 2022
Merged

sql/sem/builtins: remove dependency of builtins on sql/catalog/descs#82433
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:ajwerner/break-catalog-dep-from-builtins

Conversation

@ajwerner
Copy link
Copy Markdown
Contributor

@ajwerner ajwerner commented Jun 3, 2022

builtins is a major bottleneck in the build graph. Reducing its deps helps
move it to be earlier. This removes effectively all dependencies on the
subtree under catalog. The introduction of the new package was required to
eliminate the very upsetting method to return a descriptor as an opaque
interface.

Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@ajwerner ajwerner force-pushed the ajwerner/break-catalog-dep-from-builtins branch from 025c290 to 5d34ec7 Compare June 6, 2022 03:37
@ajwerner ajwerner marked this pull request as ready for review June 6, 2022 03:37
@ajwerner ajwerner requested a review from a team June 6, 2022 03:37
@ajwerner ajwerner requested a review from a team as a code owner June 6, 2022 03:37
@ajwerner ajwerner force-pushed the ajwerner/break-catalog-dep-from-builtins branch from 5d34ec7 to 7f2d57d Compare June 6, 2022 04:03
@blathers-crl blathers-crl bot requested a review from otan June 6, 2022 04:03
@ajwerner ajwerner force-pushed the ajwerner/break-catalog-dep-from-builtins branch 3 times, most recently from 92c5518 to e40a145 Compare June 6, 2022 04:30
Copy link
Copy Markdown
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a quick scroll through, LGTM, but I'll defer to Oliver for approval. Thanks for cleaning this up!

Reviewed 19 of 19 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @otan)

builtins is a major bottleneck in the build graph. Reducing its deps helps
move it to be earlier. This removes effectively all dependencies on the
subtree under catalog. The introduction of the new package was required to
eliminate the very upsetting method to return a descriptor as an opaque
interface.

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/break-catalog-dep-from-builtins branch from e40a145 to 0a3137c Compare June 6, 2022 05:37
@ajwerner
Copy link
Copy Markdown
Contributor Author

ajwerner commented Jun 6, 2022

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 6, 2022

Build succeeded:

@craig craig bot merged commit 2fc45fc into cockroachdb:master Jun 6, 2022
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.

4 participants