Sha256: 6b44e0c6c3ae0673643a1118fa7b9e147ab877a2c8f2beec4294ece68031dfcb
Contents?: true
Size: 658 Bytes
Versions: 2
Compression:
Stored size: 658 Bytes
Contents
require 'sequel/adapters/shared/impala' Sequel::JDBC.load_driver('org.apache.hive.jdbc.HiveDriver', :Hive2) module Sequel module JDBC Sequel.synchronize do DATABASE_SETUP[:hive2] = proc do |db| db.extend(Sequel::JDBC::Hive2::DatabaseMethods) db.dataset_class = Sequel::JDBC::Hive2::Dataset org.apache.hive.jdbc.HiveDriver end end module Hive2 module DatabaseMethods extend Sequel::Database::ResetIdentifierMangling include Sequel::Impala::DatabaseMethods end class Dataset < JDBC::Dataset include Sequel::Impala::DatasetMethods end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sequel-impala-1.0.1 | lib/sequel/adapters/jdbc/hive2.rb |
sequel-impala-1.0.0 | lib/sequel/adapters/jdbc/hive2.rb |