21 lines
625 B
Ruby
21 lines
625 B
Ruby
class ApacheDrill < Formula
|
|
desc "Schema-free SQL query engine for Hadoop and NoSQL"
|
|
homepage "https://drill.apache.org/download/"
|
|
url "https://www.apache.org/dyn/closer.cgi?path=drill/drill-1.6.0/apache-drill-1.6.0.tar.gz"
|
|
mirror "https://archive.apache.org/dist/drill/drill-1.6.0/apache-drill-1.6.0.tar.gz"
|
|
sha256 "3ab36cf985272d89971b9a918a2484feccc2881bcf09da611edafdce686a9502"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
bin.write_exec_script Dir["#{libexec}/bin/*"]
|
|
end
|
|
|
|
test do
|
|
ENV.java_cache
|
|
|
|
pipe_output("#{bin}/sqlline -u jdbc:drill:zk=local", "!tables", 0)
|
|
end
|
|
end
|