You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/04/02 09:31:16 UTC
[jira] [Commented] (DRILL-476) Create binary_string() function to
convert encoded binary string to sequence of bytes
[ https://issues.apache.org/jira/browse/DRILL-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957430#comment-13957430 ]
ASF GitHub Bot commented on DRILL-476:
--------------------------------------
GitHub user adityakishore opened a pull request:
https://github.com/apache/incubator-drill/pull/41
DRILL-476: Create binary_string() function to convert encoded binary str...
...ing to sequence of bytes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/adityakishore/incubator-drill DRILL-476
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-drill/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit 2e8f056545448f582102f231795a5ee1b2ffd11c
Author: Aditya Kishore <ad...@maprtech.com>
Date: 2014-04-02T07:26:46Z
DRILL-476: Create binary_string() function to convert encoded binary string to sequence of bytes
----
> 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)