You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "yevgenypats (via GitHub)" <gi...@apache.org> on 2023/04/08 20:39:55 UTC

[GitHub] [arrow] yevgenypats commented on issue #34657: [Go][Array] Expose UntypedValue(i int) interface

yevgenypats commented on issue #34657:
URL: https://github.com/apache/arrow/issues/34657#issuecomment-1500973830

   @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: `ValueString(i int) string` that will return a string representation (we actually already had this on extensions)
   
   and the inverse on Builder interface: `AppendValueFromString(i int) error` which will take the string representation parse and add to the builder.
   
   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: https://github.com/apache/arrow/pull/34986


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org