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

[Go] Pow method for Decimal DataTypes #34863

Closed
izveigor opened this issue Apr 3, 2023 · 0 comments · Fixed by #34864
Closed

[Go] Pow method for Decimal DataTypes #34863

izveigor opened this issue Apr 3, 2023 · 0 comments · Fixed by #34864

Comments

@izveigor
Copy link
Contributor

izveigor commented Apr 3, 2023

Describe the enhancement requested

Pow method for Decimal is implemented in many languages (Golang: https://pkg.go.dev/github.com/shopspring/decimal#Decimal.Pow, Rust: https://docs.rs/rust_decimal/latest/rust_decimal/struct.Decimal.html#impl-Pow%3CDecimal%3E-for-Decimal, Python: https://github.com/python/cpython/blob/3.11/Lib/_pydecimal.py#L2298 and others). Because of its popularity I think Golang Arrow should also support this operation.

Component(s)

Go

zeroshade pushed a commit that referenced this issue Apr 4, 2023
### Rationale for this change
Closes: #34863

### Are these changes tested?
Yes

### Are there any user-facing changes?
Yes
* Closes: #34863

Authored-by: izveigor <izveigor@mail.ru>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
@zeroshade zeroshade added this to the 12.0.0 milestone Apr 4, 2023
ArgusLi pushed a commit to Bit-Quill/arrow that referenced this issue May 15, 2023
### Rationale for this change
Closes: apache#34863

### Are these changes tested?
Yes

### Are there any user-facing changes?
Yes
* Closes: apache#34863

Authored-by: izveigor <izveigor@mail.ru>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
rtpsw pushed a commit to rtpsw/arrow that referenced this issue May 16, 2023
### Rationale for this change
Closes: apache#34863

### Are these changes tested?
Yes

### Are there any user-facing changes?
Yes
* Closes: apache#34863

Authored-by: izveigor <izveigor@mail.ru>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants