hive@0.3.7
This adaptor exports the following from common:
- dataPath()
- dataValue()
- dateFns
- each()
- field()
- fields()
- fn()
- fnIf()
- lastReferenceValue()
- merge()
- parseCsv()
- sourceValue()
Functions
query
query(qs, options, callback) ⇒ Operation
Execute an SQL statement
Param | Type | Description |
---|---|---|
qs | string | SQL statement |
options | object | (Optional) options for executing sql statement |
callback | function | An optional callback function |
Example: Get patient count from hive database
query("select count(*) from patient");