aboutsummaryrefslogblamecommitdiff
path: root/sql/hive/src/test/resources/golden/udf_hex-2-d55348c0ccd133b7abb690f6949b520c
blob: bcc46336d0fd5608dacd0807cccd4b04579a5385 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                                     
                    
hex(n, bin, or str) - Convert the argument to hexadecimal 
If the argument is a string, returns two hex digits for each character in the string.
If the argument is a number or binary, returns the hexadecimal representation.
Example:
  > SELECT hex(17) FROM src LIMIT 1;
  'H1'
  > SELECT hex('Facebook') FROM src LIMIT 1;
  '46616365626F6F6B'