PREHOOK: query: DESCRIBE FUNCTION lower PREHOOK: type: DESCFUNCTION POSTHOOK: query: DESCRIBE FUNCTION lower POSTHOOK: type: DESCFUNCTION lower(str) - Returns str with all characters changed to lowercase PREHOOK: query: DESCRIBE FUNCTION EXTENDED lower PREHOOK: type: DESCFUNCTION POSTHOOK: query: DESCRIBE FUNCTION EXTENDED lower POSTHOOK: type: DESCFUNCTION lower(str) - Returns str with all characters changed to lowercase Synonyms: lcase Example: > SELECT lower('Facebook') FROM src LIMIT 1; 'facebook' PREHOOK: query: EXPLAIN SELECT lower('AbC 123'), upper('AbC 123') FROM src WHERE key = 86 PREHOOK: type: QUERY POSTHOOK: query: EXPLAIN SELECT lower('AbC 123'), upper('AbC 123') FROM src WHERE key = 86 POSTHOOK: type: QUERY ABSTRACT SYNTAX TREE: (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION lower 'AbC 123')) (TOK_SELEXPR (TOK_FUNCTION upper 'AbC 123'))) (TOK_WHERE (= (TOK_TABLE_OR_COL key) 86)))) STAGE DEPENDENCIES: Stage-1 is a root stage Stage-0 is a root stage STAGE PLANS: Stage: Stage-1 Map Reduce Alias -> Map Operator Tree: src TableScan alias: src Filter Operator predicate: expr: (key = 86) type: boolean Select Operator expressions: expr: lower('AbC 123') type: string expr: upper('AbC 123') type: string outputColumnNames: _col0, _col1 File Output Operator compressed: false GlobalTableId: 0 table: input format: org.apache.hadoop.mapred.TextInputFormat output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat Stage: Stage-0 Fetch Operator limit: -1 PREHOOK: query: SELECT lower('AbC 123'), upper('AbC 123') FROM src WHERE key = 86 PREHOOK: type: QUERY PREHOOK: Input: default@src #### A masked pattern was here #### POSTHOOK: query: SELECT lower('AbC 123'), upper('AbC 123') FROM src WHERE key = 86 POSTHOOK: type: QUERY POSTHOOK: Input: default@src #### A masked pattern was here #### abc 123 ABC 123