You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2011/03/08 18:34:59 UTC
[jira] Assigned: (PIG-1885) SUBSTRING fails when input length less
than start
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates reassigned PIG-1885:
-------------------------------
Assignee: Deepak Kumar V
> SUBSTRING fails when input length less than start
> -------------------------------------------------
>
> Key: PIG-1885
> URL: https://issues.apache.org/jira/browse/PIG-1885
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.8.0, 0.9.0
> Reporter: Alan Gates
> Assignee: Deepak Kumar V
> Priority: Minor
>
> SUBSTRING throws an error if it gets a string which has a length less than its start value. For example, SUBSTRING(x, 100, 120) will fail with any chararray of length less than 100. It should return null instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira