PREHOOK: query: DESCRIBE FUNCTION factorial PREHOOK: type: DESCFUNCTION POSTHOOK: query: DESCRIBE FUNCTION factorial POSTHOOK: type: DESCFUNCTION factorial(int) - Returns n factorial. Valid n is [0..20]. PREHOOK: query: DESC FUNCTION EXTENDED factorial PREHOOK: type: DESCFUNCTION POSTHOOK: query: DESC FUNCTION EXTENDED factorial POSTHOOK: type: DESCFUNCTION factorial(int) - Returns n factorial. Valid n is [0..20]. Returns null if n is out of [0..20] range. Example: > SELECT factorial(5); 120 PREHOOK: query: explain select factorial(5) PREHOOK: type: QUERY POSTHOOK: query: explain select factorial(5) POSTHOOK: type: QUERY STAGE DEPENDENCIES: Stage-0 is a root stage STAGE PLANS: Stage: Stage-0 Fetch Operator limit: -1 Processor Tree: TableScan alias: _dummy_table Row Limit Per Split: 1 Statistics: Num rows: 0 Data size: 1 Basic stats: PARTIAL Column stats: COMPLETE Select Operator expressions: 120 (type: bigint) outputColumnNames: _col0 Statistics: Num rows: 0 Data size: 1 Basic stats: PARTIAL Column stats: COMPLETE ListSink PREHOOK: query: select factorial(5), factorial(0), factorial(20), factorial(-1), factorial(21), factorial(cast(null as int)) PREHOOK: type: QUERY PREHOOK: Input: _dummy_database@_dummy_table #### A masked pattern was here #### POSTHOOK: query: select factorial(5), factorial(0), factorial(20), factorial(-1), factorial(21), factorial(cast(null as int)) POSTHOOK: type: QUERY POSTHOOK: Input: _dummy_database@_dummy_table #### A masked pattern was here #### 120 1 2432902008176640000 NULL NULL NULL