joellubi commented on code in PR #43234: URL: https://github.com/apache/arrow/pull/43234#discussion_r1676373824
########## go/arrow/extensions/bool8.go: ########## @@ -0,0 +1,196 @@ +package extensions + +import ( + "fmt" + "reflect" + "strconv" + "strings" + + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/internal/json" +) + +const ExtensionNameBool8 = "bool8" Review Comment: There is no reason currently, but I did have a thought about how it could be used. Right now we have the functions `(Register|Unregister|Get)ExtensionType` for interacting with the global extension registry which developers can use to opt in to any extensions their application recognizes. As we make a clearer distinction between _regular_ extension types and canonical extension types, I was thinking that we could automatically pre-register extensions that are canonical so that applications automatically recognize them. Whether we do this or not, the exported name key could make it easier to interact with the registry using a consistent identifier. Thoughts? -- 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]
