Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ci/scripts/swift_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ set -ex
data_gen_dir=${1}/swift/data-generator/swift-datagen
export GOPATH=/
pushd ${data_gen_dir}
go get -d ./...
git clone https://github.com/apache/arrow-go.git /arrow-go

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use a released tag but we can just clone main and find potential issues earlier. @kou any thoughts?

@kou kou Sep 18, 2024 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about doing this after we release a new version from apache/arrow-go?

I tried apache/arrow-go#87 for this issue but it didn't work.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to remove /go subfolder before the Arrow release, if we do that we should release arrow-go before, was that your plan?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

BTW, it seems that this script doesn't refer go/ in apache/arrow. It uses released version:

require github.com/apache/arrow/go/v16 v16.1.0

This script may still work even if we remove go/ in apache/arrow.

go get -d ./..../arrow-go/go
go run .
cp *.arrow ../../Arrow
rm -rf /arrow-go
popd

source_dir=${1}/swift
Expand Down