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

sessiondatapb: move one enum definition into lex package #77319

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

yuzefovich
Copy link
Member

This commit moves the definition of BytesEncodeFormat enum from
sessiondatapb to lex. This is done in order to make lex not depend
on a lot of stuff (eventually on roachpb) and is a part of the effort
to clean up the dependencies of execgen. Note that the proto package
name is not changed, so this change is backwards-compatible.

Informs: #77234.

Release note: None

Release justification: low risk change to clean up the dependencies.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@otan otan left a comment

Choose a reason for hiding this comment

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

lgtm. i'd consider putting it in lexbase but i think anything that uses it is in lex so it's fine.

@yuzefovich
Copy link
Member Author

TFTR!

anything that uses it is in lex so it's fine

That was my thinking for putting it in lex too, so I'll keep it there.

This commit moves the definition of `BytesEncodeFormat` enum from
`sessiondatapb` to `lex`. This is done in order to make `lex` not depend
on a lot of stuff (eventually on `roachpb`) and is a part of the effort
to clean up the dependencies of `execgen`. Note that the proto package
name is not changed, so this change is backwards-compatible.

Release note: None

Release justification: low risk change to clean up the dependencies.
@yuzefovich
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented Mar 3, 2022

Build succeeded:

@craig craig bot merged commit 960f2b4 into cockroachdb:master Mar 3, 2022
@yuzefovich yuzefovich deleted the execgen-3 branch March 3, 2022 21:31
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.

3 participants