npm.io
0.1.0 • Published 9 years agoCLI

peh

Licence
ISC
Version
0.1.0
Deps
1
Vulns
0
Weekly
0
Stars
1

About

  • Performance Estimator for Hive SQL
  • Developing project

Requirements

Usage

Table sampling

peh --sample tablename nrow [nrow ...]

example:

peh --sample table1 123 345

Smoke test

peh --smoke hqlpath [nrow]

example:

peh --smoke ./path/to/query.hql 1000

Tests

Requires additional tools:

npm run test:init  # init data for tests
npm test           # runs all tests
npm run test:unit  # runs unit tests
npm run test:e2e   # runs e2e tests