Skip to content

Business intelligence made simple

Improved Spark test [skip ci]

Andrew Kaned1d615f2cf7b
diff --git a/test/adapters/spark_test.rb b/test/adapters/spark_test.rb
index 38ee489c..662ae0a0 100644
--- a/test/adapters/spark_test.rb
+++ b/test/adapters/spark_test.rb
@@ -1,9 +1,15 @@
require_relative "../test_helper"
+# bin/beeline -u jdbc:hive2://localhost:10000 -e 'CREATE DATABASE blazer_test;'
+
class SparkTest < ActionDispatch::IntegrationTest
include AdapterTest
def data_source
"spark"
end
+
+ def test_run
+ assert_result [{"hello" => "world"}], "SELECT 'world' AS hello"
+ end
end