From 7945ec59960fe352e4259b580758bd2d48029acc Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Sun, 7 Feb 2021 18:08:19 -0800 Subject: [PATCH] Patch arrow to temporarily resolve the ARROW-11518 issue (#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 --- WORKSPACE | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index 3475df9e7..58cc1f597 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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(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 = [