0.3.9 • Published 8 years ago
hive-shell v0.3.9
hive-shell
Use Apache Hive by the shell interface. Depend on the shell command "hive".
Usage Example
var HiveClient = require('hive-shell').HiveClient
var opts = {dry_run: true}
var hive = new HiveClient('database_name', opts /* optional */ )
hive.getSchemaDesc(hive.table, function(err, desc) {
// desc is the same as "hive -e 'desc TABLE'"
})
hive.execute('drop table ' + hive.table, function(err, stdout) {
})