drill-client

0.1.2 • Public • Published

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});
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    0
  • 0.1.1
    0

Package Sidebar

Install

npm i drill-client

Weekly Downloads

0

Version

0.1.2

License

Apache-2.0

Last publish

Collaborators

  • cgivre