Skip to content

cgivre/drill-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm package

Known Vulnerabilities

Apache Drill Client for NodeJS

These are initial experiments to create a connector for NodeJS to query Apache Drill.

Usage

To query Drill, the .execute() or .query() functions

var client = new Drill.Client({hostname:'localhost', port:8047});

client.query('SELECT * FROM cp.`employee.json` LIMIT 10', function(error, data, columns){
  console.log({data: data['rows'], columns: data['columns'], error: error});
});