You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2024/09/05 09:05:17 UTC

Re: [I] Push v17.0.0 tag to support migrating to apache/arrow-go without changing version [arrow-go]

kou commented on issue #87:
URL: https://github.com/apache/arrow-go/issues/87#issuecomment-2330995240

   @zeroshade Is this correct?
   
   If we push `v17.0.0` tag to apache/arrow-go, will the following change for apache/arrow work?
   
   ```diff
   diff --git a/swift/CDataWGo/go.mod b/swift/CDataWGo/go.mod
   index 323b5daac2..478b9273cf 100644
   --- a/swift/CDataWGo/go.mod
   +++ b/swift/CDataWGo/go.mod
   @@ -18,7 +18,7 @@ module go-swift
    
    go 1.21
    
   -require github.com/apache/arrow/go/v16 v16.1.0
   +require github.com/apache/arrow-go/v17 v17.0.0
    
    require (
    	github.com/goccy/go-json v0.10.2 // indirect
   diff --git a/swift/CDataWGo/main.go b/swift/CDataWGo/main.go
   index 45d1979e7e..9584e19a0c 100644
   --- a/swift/CDataWGo/main.go
   +++ b/swift/CDataWGo/main.go
   @@ -27,10 +27,10 @@ import (
    	"strconv"
    	"unsafe"
    
   -	"github.com/apache/arrow/go/v16/arrow"
   -	"github.com/apache/arrow/go/v16/arrow/array"
   -	"github.com/apache/arrow/go/v16/arrow/cdata"
   -	"github.com/apache/arrow/go/v16/arrow/memory"
   +	"github.com/apache/arrow-go/v17/arrow"
   +	"github.com/apache/arrow-go/v17/arrow/array"
   +	"github.com/apache/arrow-go/v17/arrow/cdata"
   +	"github.com/apache/arrow-go/v17/arrow/memory"
    )
    
    func stringTypeFromSwift() {
   ```


-- 
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