Aditya Kishore created DRILL-476:
------------------------------------
Summary: Create binary_string() function to convert encoded binary
string to sequence of bytes
Key: DRILL-476
URL: https://issues.apache.org/jira/browse/DRILL-476
Project: Apache Drill
Issue Type: New Feature
Reporter: Aditya Kishore
Assignee: Aditya Kishore
Need a function to convert an encoded binary string to its byte array
equivalent. All non printable bytes can be encoded as '\xNN' where NN is the
byte value in hexadecimal.
Sample:
{noformat}
binary_string('\xca\xfe\xba\xbe') => (byte[]) {(byte)0xca, (byte)0xfe,
(byte)0xba, (byte)0xbe}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)