[
https://issues.apache.org/jira/browse/DRILL-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957454#comment-13957454
]
Aditya Kishore commented on DRILL-476:
--------------------------------------
All test cases in master branch passes locally.
> 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)