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][Array] Expose UntypedValue(i int) interface #34657
Comments
Could you use "[Go]" not "[GO]" in title? |
cc @zeroshade for feedback. If that's something possible/reasonable then I can also contribute this PR. |
hmm, I think it's perfectly reasonable to implement this. Do you think this is better than the Also, perhaps we can name it something like |
After further investigation seems there is a parallel implementation in c/c++ with |
Sorry for the delayed response, I'm currently at a conference. We already have a function in the |
No worries. @zeroshade . I think we have to if we want to implement |
I'd like to add my two cents here: I've been looking at implementing This problem could be avoided if the Update: In the |
@yevgenypats There's already I believe the benefit here would be to have an |
@zeroshade After playing a bit more with arrow, csv, json seems that the you are right indeed :) first easiest and most helpful step would be indeed having two methods: on Array interface: and the inverse on Builder interface: This would simplify CSV reader,writer and in general should solve lot of issues when handling unknown types and providing sane defaults via string representation and not only json marshaling. I've a first stab at this here: #34986 |
### Rationale for this change ### What changes are included in this PR? ### Are these changes tested? ### Are there any user-facing changes? * Closes: #34657 Authored-by: Yevgeny Pats <16490766+yevgenypats@users.noreply.github.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
…4986) ### Rationale for this change ### What changes are included in this PR? ### Are these changes tested? ### Are there any user-facing changes? * Closes: apache#34657 Authored-by: Yevgeny Pats <16490766+yevgenypats@users.noreply.github.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
…4986) ### Rationale for this change ### What changes are included in this PR? ### Are these changes tested? ### Are there any user-facing changes? * Closes: apache#34657 Authored-by: Yevgeny Pats <16490766+yevgenypats@users.noreply.github.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
…4986) ### Rationale for this change ### What changes are included in this PR? ### Are these changes tested? ### Are there any user-facing changes? * Closes: apache#34657 Authored-by: Yevgeny Pats <16490766+yevgenypats@users.noreply.github.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
### Rationale for this change ### What changes are included in this PR? ### Are these changes tested? ### Are there any user-facing changes? * Closes: #34657 Authored-by: Yevgeny Pats <16490766+yevgenypats@users.noreply.github.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Describe the enhancement requested
Similar to #34377
It will be nice to expose
UntypedValue(i int) interface
on array so any subclass array can implement it.Component(s)
Go
The text was updated successfully, but these errors were encountered: