/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientpositive/udf_unhex.q
# · text · 19 lines · 16 code · 3 blank · 0 comment · 0 complexity · 0b65d6d5d87685c865343cc15d34efc7 MD5 · raw file
- DESCRIBE FUNCTION unhex;
- DESCRIBE FUNCTION EXTENDED unhex;
- -- Good inputs
- SELECT
- unhex('4D7953514C'),
- unhex('31323637'),
- unhex('61'),
- unhex('2D34'),
- unhex('')
- FROM src limit 1;
- -- Bad inputs
- SELECT
- unhex('MySQL'),
- unhex('G123'),
- unhex('\0')
- FROM src limit 1;