Skip to content

Commit 22f4103

Browse files
authored
Revert "Update arrow to 4.0.0 (#1397)" (#1399)
This reverts commit 7d20567.
1 parent 431fd39 commit 22f4103

File tree

5 files changed

+7
-49
lines changed

5 files changed

+7
-49
lines changed

WORKSPACE

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ http_archive(
272272
"""sed -i.bak 's/type_traits/std::max<int16_t>(sizeof(int16_t), type_traits/g' cpp/src/parquet/column_reader.cc""",
273273
"""sed -i.bak 's/value_byte_size/value_byte_size)/g' cpp/src/parquet/column_reader.cc""",
274274
],
275-
sha256 = "a27971e2a71c412ae43d998b7b6d06201c7a3da382c804dcdc4a8126ccbabe67",
276-
strip_prefix = "arrow-apache-arrow-4.0.0",
275+
sha256 = "fc461c4f0a60e7470a7c58b28e9344aa8fb0be5cc982e9658970217e084c3a82",
276+
strip_prefix = "arrow-apache-arrow-3.0.0",
277277
urls = [
278-
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/apache/arrow/archive/apache-arrow-4.0.0.tar.gz",
279-
"https://github.com/apache/arrow/archive/apache-arrow-4.0.0.tar.gz",
278+
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/apache/arrow/archive/apache-arrow-3.0.0.tar.gz",
279+
"https://github.com/apache/arrow/archive/apache-arrow-3.0.0.tar.gz",
280280
],
281281
)
282282

@@ -1135,13 +1135,3 @@ http_archive(
11351135
"https://github.com/apache/orc/archive/refs/tags/rel/release-1.6.7.tar.gz",
11361136
],
11371137
)
1138-
1139-
http_archive(
1140-
name = "xsimd",
1141-
build_file = "//third_party:xsimd.BUILD",
1142-
sha256 = "45337317c7f238fe0d64bb5d5418d264a427efc53400ddf8e6a964b6bcb31ce9",
1143-
strip_prefix = "xsimd-7.5.0",
1144-
urls = [
1145-
"https://github.com/xtensor-stack/xsimd/archive/refs/tags/7.5.0.tar.gz",
1146-
],
1147-
)

tensorflow_io/core/kernels/csv_kernels.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ class CSVReadable : public IOReadableInterface {
4545
csv_file_.reset(new ArrowRandomAccessFile(file_.get(), file_size_));
4646

4747
auto result = ::arrow::csv::TableReader::Make(
48-
::arrow::default_memory_pool(), ::arrow::io::default_io_context(),
49-
csv_file_, ::arrow::csv::ReadOptions::Defaults(),
48+
::arrow::default_memory_pool(), csv_file_,
49+
::arrow::csv::ReadOptions::Defaults(),
5050
::arrow::csv::ParseOptions::Defaults(),
5151
::arrow::csv::ConvertOptions::Defaults());
5252
if (!result.status().ok()) {

tests/test_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_read_text():
5656
assert entries[k].numpy().decode() + "\n" == v.decode()
5757

5858

59-
@pytest.mark.skip(reason="TODO")
59+
@pytest.mark.xfail(reason="TODO")
6060
def test_text_output_sequence():
6161
"""Test case based on fashion mnist tutorial"""
6262
fashion_mnist = tf.keras.datasets.fashion_mnist

third_party/arrow.BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ cc_library(
120120
"@rapidjson",
121121
"@snappy",
122122
"@thrift",
123-
"@xsimd",
124123
"@zlib",
125124
"@zstd",
126125
],

third_party/xsimd.BUILD

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)