hive@0.2.1
The following functions are exported from the common adaptor:
- dataPath()
- dataValue()
- dateFns()
- each()
- field()
- fields()
- fn()
- lastReferenceValue()
- merge()
- parseCsv()
- sourceValue()
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");