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

builtin: add any_value built-in function #2866

Merged
merged 4 commits into from
Mar 20, 2017

Conversation

spongedu
Copy link
Contributor

Add implementation for built-in function: any_value

@coocood
Copy link
Member

coocood commented Mar 19, 2017

LGTM

@zimulala zimulala added the status/LGT1 Indicates that a PR has LGTM 1. label Mar 20, 2017
@coocood coocood added the contribution This PR is from a community contributor. label Mar 20, 2017
return d, errFunctionNotExists.GenByArgs("ANY_VALUE")
args, err := b.evalArgs(row)
if err != nil {
return types.Datum{}, errors.Trace(err)
Copy link
Contributor

Choose a reason for hiding this comment

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

Return d, errors.Trace(err) is better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, will fix.

@tiancaiamao
Copy link
Contributor

@zimulala @hanfei1991

@zimulala
Copy link
Contributor

LGTM

@spongedu spongedu closed this Mar 20, 2017
@zimulala
Copy link
Contributor

@spongedu Why do you close this PR?

@spongedu spongedu reopened this Mar 20, 2017
@spongedu
Copy link
Contributor Author

@zimulala sorry, I thought you've merged it. =.=

@hanfei1991 hanfei1991 merged commit 4a3dc46 into pingcap:master Mar 20, 2017
@spongedu spongedu deleted the dc_udf_anyvalue branch March 21, 2017 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants