diff --git a/Formula/apache-spark.rb b/Formula/apache-spark.rb index 62c484f0b8efa..c02e9cbe9e583 100644 --- a/Formula/apache-spark.rb +++ b/Formula/apache-spark.rb @@ -4,10 +4,16 @@ class ApacheSpark < Formula url "https://www.apache.org/dyn/closer.lua?path=spark/spark-2.1.0/spark-2.1.0-bin-hadoop2.7.tgz" version "2.1.0" sha256 "0834c775f38473f67cb122e0ec21074f800ced50c1ff1b9e37e222a0069dc5c7" + revision 1 head "https://github.com/apache/spark.git" bottle :unneeded + patch do + url "https://github.com/apache/spark/pull/16429.patch" + sha256 "70edb1a3b8560c28b98fa170c4c0ea57aca67eaf3ec62ee80380576768bf24d0" + end + def install # Rename beeline to distinguish it from hive's beeline mv "bin/beeline", "bin/spark-beeline"