little-owl
A companion to AWS Athena 馃
Last updated 3 years ago by kamicut .
MITRepositoryBugsOriginal npmTarballpackage.json
$ cnpm install little-owl 
SYNC missed versions from official npm registry.

???? little-owl npm version

Helper tools to query AWS Athena.

npm install little-owl

Documentation

little-owl can be used either as a command line tool or as a node library.

CLI

The cli requires the following environment variables to be set:

  • AWS_REGION: Region where the S3 bucket and Athena queries will run (default is us-east-1)
  • AWS_ACCESS_KEY_ID: AWS access key
  • AWS_SECRET_ACCESS_KEY: AWS secret key
  • AWS_OUTPUT_BUCKET: Bucket where query results are stored (default is little_owl_athena_output)
Usage
  $ little-owl query <sql>
  $ echo <sql> | little-owl query

Examples
  $ little-owl query "SELECT count(*) from owls"

Node API

License

MIT - See LICENSE.md

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

6 Versions

  • 1.0.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (8)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 漏 taobao.org |