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

exec: minor clean up #40618

Merged
merged 1 commit into from
Sep 10, 2019
Merged

exec: minor clean up #40618

merged 1 commit into from
Sep 10, 2019

Conversation

yuzefovich
Copy link
Member

Previously, when converting a columnar value to a tree.Datum, we
would check for nulls separately. Now this is done as part of the
conversion which cleans up the code a bit.

Release note: None

@yuzefovich yuzefovich requested review from asubiotto, rohany and a team September 10, 2019 00:56
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rohany
Copy link
Contributor

rohany commented Sep 10, 2019

Ahh that looks better -- maybe just expand on the comment for the function to say that you don't need to check for nulls before using the function.

LGTM

Previously, when converting a columnar value to a tree.Datum, we
would check for nulls separately. Now this is done as part of the
conversion which cleans up the code a bit.

Release note: None
@yuzefovich
Copy link
Member Author

TFTR!

bors r+

craig bot pushed a commit that referenced this pull request Sep 10, 2019
40618: exec: minor clean up r=yuzefovich a=yuzefovich

Previously, when converting a columnar value to a tree.Datum, we
would check for nulls separately. Now this is done as part of the
conversion which cleans up the code a bit.

Release note: None

Co-authored-by: Yahor Yuzefovich <[email protected]>
@craig
Copy link
Contributor

craig bot commented Sep 10, 2019

Build succeeded

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