Hive - Function

Card Puncher Data Processing

About

(Function | Operator | Map | Mapping | Transformation | Method | Rule | Task | Subroutine) in Hive.

Type

Management

List

SHOW FUNCTIONS;
+-------------------------+--+
|        tab_name         |
+-------------------------+--+
| !                       |
| !=                      |
| %                       |
| &                       |
| *                       |
| +                       |
| -                       |
| /                       |
| <                       |
| <=                      |
| <=>                     |
| <>                      |
| =                       |
| ==                      |
| >                       |
| >=                      |
| ^                       |
| abs                     |
| acos                    |
| add_months              |
| aes_decrypt             |
| aes_encrypt             |

Describe

DESCRIBE FUNCTION <function_name>;
DESCRIBE FUNCTION EXTENDED <function_name>;

Example:

DESCRIBE FUNCTION current_user;
+---------------------------------------------+--+
|                  tab_name                   |
+---------------------------------------------+--+
| current_user() - Returns current user name  |
+---------------------------------------------+--+

Example:

 select max(current_user()) from littleTable;
+-------+--+
|  _c0  |
+-------+--+
| nico  |
+-------+--+

Documentation / Reference





Discover More
Card Puncher Data Processing
Hive - built-in functions (UDF)

in Hive or how to make a Hive function See also: UDF reference ...
Card Puncher Data Processing
Hive - HiveQL

HiveQL Tutorial is also a good reference Language Manual Reference Select...



Share this page:
Follow us:
Task Runner