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()
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
3
Version History
- VersionDownloads (Last 7 Days)
- 1.0.1
3
Package Sidebar
Install
Weekly Downloads