You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Nezih Yigitbasi (JIRA)" <ji...@apache.org> on 2014/01/29 23:56:13 UTC

[jira] [Updated] (PIG-3623) Documentation for loadKey in HBaseStorage is incorrect

     [ https://issues.apache.org/jira/browse/PIG-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nezih Yigitbasi updated PIG-3623:
---------------------------------

    Attachment: PIG-3623.patch

Guys, Seems like nobody has fixed this issue, so I fixed it. Any feedback is appreciated.

> Documentation for loadKey in HBaseStorage is incorrect
> ------------------------------------------------------
>
>                 Key: PIG-3623
>                 URL: https://issues.apache.org/jira/browse/PIG-3623
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Michael Stefaniak
>         Attachments: PIG-3623.patch
>
>
> The documentation for HBaseStorage (http://pig.apache.org/docs/r0.12.0/func.html#HBaseStorage)
> says -loadKey=(true|false) Load the row key as the first value in every tuple returned from HBase (default=false)
> However, looking at the source (http://svn.apache.org/repos/asf/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseStorage.java)
> it is just doing a check for the existence of this option
> loadRowKey_ = configuredOptions_.hasOption("loadKey");
> So setting -loadKey=false in the options string, still results in a true value



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)