Skip to content

Commit

Permalink
Update go/arrow/extensions/opaque.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Lubinitsky <[email protected]>
  • Loading branch information
lidavidm and joellubi authored Aug 4, 2024
1 parent 9529dcf commit 0f6fdf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/arrow/extensions/opaque.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type OpaqueType struct {
VendorName string `json:"vendor_name"`
}

// NewOpaqueType creates a new OpaqueType with the provided storage type, type name, and vendor name.
func NewOpaqueType(storageType arrow.DataType, name, vendorName string) *OpaqueType {
return &OpaqueType{ExtensionBase: arrow.ExtensionBase{Storage: storageType},
TypeName: name, VendorName: vendorName}
Expand Down

0 comments on commit 0f6fdf0

Please sign in to comment.