[ 
https://issues.apache.org/jira/browse/HIVE-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211720#comment-13211720
 ] 

Phabricator commented on HIVE-2792:
-----------------------------------

navis has commented on the revision "HIVE-2792 [jira] SUBSTR(CAST(<string> AS 
BINARY)) produces unexpected results".

  For substr() for binary type..
  1. Fixed length problem (dummy values at the end)
  2. Changed to use 1-based index (like mysql)

REVISION DETAIL
  https://reviews.facebook.net/D1797

                
> SUBSTR(CAST(<string> AS BINARY)) produces unexpected results
> ------------------------------------------------------------
>
>                 Key: HIVE-2792
>                 URL: https://issues.apache.org/jira/browse/HIVE-2792
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Carl Steinbach
>         Attachments: HIVE-2792.D1797.1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to