Monday, 15 August 2022

Hive: get help about a function usage

Syntax

DESCRIBE FUNCTION {function_name};

 

Example

DESCRIBE FUNCTION year;

 

Above statement print the usage of year function.

hive> DESCRIBE FUNCTION year;
OK
year(date) - Returns the year of date
Time taken: 0.026 seconds, Fetched: 1 row(s)

 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment