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

ravi commented on PHOENIX-11:
-----------------------------

How about passing query as part of the constructor to PhoenixHBaseStorage. For 
ex.
LOAD 'hbase://table/'
       USING PhoenixHBaseStorage('localhost','-q Select id, first_name, 
last_name, middle_name from MyPhoenixTable');
       AS (id:bytearray, first_name:chararray, last_name:chararray);

If the query argument isn't passed , we can internally build the query using 
metadata and project only those columns specified in the schema.

> Create Pig Loader
> -----------------
>
>                 Key: PHOENIX-11
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-11
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: maghamravikiran
>
> A Pig Storage function exists, so we can store to phoenix tables. What is 
> needed is a Loader to go with the Storer.



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

Reply via email to