brancz opened a new pull request, #37438:
URL: https://github.com/apache/arrow/pull/37438

   We allow accessing the IndexBuilder since GH-37416 merged. While the 
`Builder` interface functions can be accessed, the actual array builder cannot.
   
   ### Rationale for this change
   
   #37416 added the function to access the index builder, but since it returns 
the `Builder` interface, we can't actually access the underlying builder as the 
unexported `IndexBuilder` is unexported.
   
   Alternatives could be:
   
   * Return `indexBuilder.Builder` instead in the `IndexBuilder()` function
   * Return the unexported `indexBuilder` type, but this tends to be more 
awkward to use
   
   ### What changes are included in this PR?
   
   Exporting the type so it can be type asserted.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   Yes, but this API hasn't been released yet.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to