Skip to content

Commit fd35e9c

Browse files
committed
Patch arrow to temporarily resolve the ARROW-11518 issue
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 <[email protected]>
1 parent 92d6a9c commit fd35e9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

WORKSPACE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ http_archive(
267267
http_archive(
268268
name = "arrow",
269269
build_file = "//third_party:arrow.BUILD",
270+
patch_cmds = [
271+
# TODO: Remove the fowllowing once arrow issue is resolved.
272+
"""sed -i.bak 's/type_traits/std::max<int16_t>(sizeof(int16_t), type_traits/g' cpp/src/parquet/column_reader.cc""",
273+
"""sed -i.bak 's/value_byte_size/value_byte_size)/g' cpp/src/parquet/column_reader.cc""",
274+
],
270275
sha256 = "fc461c4f0a60e7470a7c58b28e9344aa8fb0be5cc982e9658970217e084c3a82",
271276
strip_prefix = "arrow-apache-arrow-3.0.0",
272277
urls = [

0 commit comments

Comments
 (0)