Skip to content

Commit

Permalink
Patch arrow to temporarily resolve the ARROW-11518 issue (tensorflow#…
Browse files Browse the repository at this point in the history
…1304)

This PR patchs arrow to temporarily resolve the ARROW-11518 issue.

See 1281 for details

Credit to diggerk.

We will update arrow after the upstream PR is merged.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
  • Loading branch information
yongtang authored and i-ony committed Mar 8, 2021
1 parent f669f52 commit 65e85ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,11 @@ http_archive(
http_archive(
name = "arrow",
build_file = "//third_party:arrow.BUILD",
patch_cmds = [
# TODO: Remove the fowllowing once arrow issue is resolved.
"""sed -i.bak 's/type_traits/std::max<int16_t>(sizeof(int16_t), type_traits/g' cpp/src/parquet/column_reader.cc""",
"""sed -i.bak 's/value_byte_size/value_byte_size)/g' cpp/src/parquet/column_reader.cc""",
],
sha256 = "fc461c4f0a60e7470a7c58b28e9344aa8fb0be5cc982e9658970217e084c3a82",
strip_prefix = "arrow-apache-arrow-3.0.0",
urls = [
Expand Down

0 comments on commit 65e85ba

Please sign in to comment.