sugo-hive-jdbc
1.0.1 • Public • Published nodejs jdbc for hive
install
example
const HiveJdbc = require('sugo-hive-jdbc')
const conf = {
url: 'jdbc:hive2://192.168.0.223:10000/default',
drivername: 'org.apache.hive.jdbc.HiveDriver',
minpoolsize: 10,
maxpoolsize: 100,
properties: {
user: 'hive',
password: ''
}
}
const main = async () => {
const hive = new HiveJdbc(conf)
const res = await hive.runQuery('select count(*) from users')
console.log(res)
}
main()
/sugo-hive-jdbc/
//
Package Sidebar
Install
Weekly Downloads