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

expression: add builtin truncate_decimal #3637

Merged
merged 10 commits into from
Oct 12, 2018

Conversation

niedhui
Copy link
Contributor

@niedhui niedhui commented Sep 28, 2018

Signed-off-by: niedhui niedhui@gmail.com

What have you changed? (mandatory)

implement builtin funciton: truncate_real

What are the type of the changes? (mandatory)

Improvement

How has this PR been tested? (mandatory)

unit test

Does this PR affect documentation (docs/docs-cn) update? (mandatory)

No

Does this PR affect tidb-ansible update? (mandatory)

No

Refer to a related PR or issue link (optional)

#3275

Signed-off-by: niedhui <niedhui@gmail.com>
@sre-bot
Copy link
Contributor

sre-bot commented Sep 28, 2018

Hi contributor, thanks for your PR.

This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically.

@solotzg
Copy link
Contributor

solotzg commented Sep 28, 2018

Thx. LGTM.

@solotzg solotzg added the status/waiting Status: Waiting for response label Sep 29, 2018
@ice1000 ice1000 added sig/coprocessor SIG: Coprocessor contribution This PR is from a community contributor. labels Sep 29, 2018
Signed-off-by: niedhui <niedhui@gmail.com>
@ice1000 ice1000 removed the status/waiting Status: Waiting for response label Sep 30, 2018
ice1000
ice1000 previously approved these changes Sep 30, 2018
Copy link
Contributor

@ice1000 ice1000 left a comment

Choose a reason for hiding this comment

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

LGTM

solotzg
solotzg previously approved these changes Sep 30, 2018
Signed-off-by: niedhui <niedhui@gmail.com>
solotzg
solotzg previously approved these changes Sep 30, 2018
@breezewish breezewish added the status/LGT1 Indicates that a PR has LGTM 1. label Oct 8, 2018
@breezewish
Copy link
Member

@crazycs520 PTAL

@solotzg
Copy link
Contributor

solotzg commented Oct 8, 2018

@niedhui please help to resolve conflicts. Thanks.

Copy link
Contributor

@crazycs520 crazycs520 left a comment

Choose a reason for hiding this comment

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

LGTM

@huachaohuang huachaohuang added the status/waiting Status: Waiting for response label Oct 8, 2018
@breezewish breezewish added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Oct 9, 2018
…uncate_decimal

Signed-off-by: niedhui <niedhui@gmail.com>

# Conflicts:
#	src/coprocessor/dag/expr/scalar_function.rs
@niedhui
Copy link
Contributor Author

niedhui commented Oct 10, 2018

@solotzg done

@huachaohuang huachaohuang removed the status/waiting Status: Waiting for response label Oct 11, 2018
@huachaohuang
Copy link
Contributor

@solotzg PTAL

@huachaohuang
Copy link
Contributor

/run-unit-test

1 similar comment
@huachaohuang
Copy link
Contributor

/run-unit-test

@solotzg solotzg merged commit 415a74c into tikv:master Oct 12, 2018
@niedhui niedhui deleted the niedhui/truncate_decimal branch December 24, 2018 01:46
sticnarf pushed a commit to sticnarf/tikv that referenced this pull request Oct 27, 2019
* expression: add builtin truncate_decimal

Signed-off-by: niedhui <niedhui@gmail.com>

* more corn cases

Signed-off-by: niedhui <niedhui@gmail.com>

* fix format issue

Signed-off-by: niedhui <niedhui@gmail.com>
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. sig/coprocessor SIG: Coprocessor status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants