Socket
Socket
Sign inDemoInstall

drillnode

Package Overview
Dependencies
51
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    drillnode

Node.js client for Apache Drill.


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Node.js client for Apache Drill

Drillnode is a client to connect and execute queries on Apache Drill from Node.js using the REST APIs.

Installation

To install drillnone with npm package manager

npm install drillnode

Getting Started

// Requirements
const Drill = require('drillnode');

// Init Drill client
const drill = new Drill({
  url: 'http://localhost:8047'
});

// Make a query
drill.query("SELECT * FROM dfs.`home/<USERNAME>/apache-drill-<VERSION>/sample-data/region.parquet` WHERE R_NAME = 'AFRICA'")
.then(function(resdata) {
  console.log(resdata);
})
.catch(function(err) {
  console.log(err);
});

Keywords

FAQs

Last updated on 08 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc