Skip to content

Commit f493c15

Browse files
yongtangi-ony
authored andcommitted
Bump Apache Arrow to 3.0.0 (tensorflow#1285)
Signed-off-by: Yong Tang <[email protected]>
1 parent b4cbdbf commit f493c15

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/build.wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ run_test() {
66
entry=$1
77
CPYTHON_VERSION=$($entry -c 'import sys; print(str(sys.version_info[0])+str(sys.version_info[1]))')
88
(cd wheelhouse && $entry -m pip install tensorflow_io-*-cp${CPYTHON_VERSION}-*.whl)
9-
$entry -m pip install -q pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==2.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigquery-storage==1.1.0 google-cloud-bigquery==2.3.1 google-cloud-storage==1.32.0
9+
$entry -m pip install -q pytest pytest-benchmark boto3 fastavro avro-python3 scikit-image pandas pyarrow==3.0.0 google-cloud-pubsub==2.1.0 google-cloud-bigquery-storage==1.1.0 google-cloud-bigquery==2.3.1 google-cloud-storage==1.32.0
1010
(cd tests && $entry -m pytest --benchmark-disable -v --import-mode=append $(find . -type f \( -iname "test_*.py" ! \( -iname "test_*_eager.py" \) \)))
1111
(cd tests && $entry -m pytest --benchmark-disable -v --import-mode=append $(find . -type f \( -iname "test_*_eager.py" ! \( -iname "test_bigquery_eager.py" \) \)))
1212
# GRPC and test_bigquery_eager tests have to be executed separately because of https://github.com/grpc/grpc/issues/20034

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ http_archive(
267267
http_archive(
268268
name = "arrow",
269269
build_file = "//third_party:arrow.BUILD",
270-
sha256 = "ea299df9cf440cfc43393ce12ee6d9a4c9d0dfa9fde33c3bc9b70ec25520a844",
271-
strip_prefix = "arrow-apache-arrow-2.0.0",
270+
sha256 = "fc461c4f0a60e7470a7c58b28e9344aa8fb0be5cc982e9658970217e084c3a82",
271+
strip_prefix = "arrow-apache-arrow-3.0.0",
272272
urls = [
273-
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/apache/arrow/archive/apache-arrow-2.0.0.tar.gz",
274-
"https://github.com/apache/arrow/archive/apache-arrow-2.0.0.tar.gz",
273+
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/apache/arrow/archive/apache-arrow-3.0.0.tar.gz",
274+
"https://github.com/apache/arrow/archive/apache-arrow-3.0.0.tar.gz",
275275
],
276276
)
277277

third_party/arrow.BUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ genrule(
3131
srcs = ["cpp/src/arrow/util/config.h.cmake"],
3232
outs = ["cpp/src/arrow/util/config.h"],
3333
cmd = ("sed " +
34-
"-e 's/@ARROW_VERSION_MAJOR@/2/g' " +
34+
"-e 's/@ARROW_VERSION_MAJOR@/3/g' " +
3535
"-e 's/@ARROW_VERSION_MINOR@/0/g' " +
3636
"-e 's/@ARROW_VERSION_PATCH@/0/g' " +
37+
"-e 's/cmakedefine ARROW_USE_NATIVE_INT128/undef ARROW_USE_NATIVE_INT128/g' " +
3738
"-e 's/cmakedefine/define/g' " +
3839
"$< >$@"),
3940
)

0 commit comments

Comments
 (0)