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

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

  I have the first drop of the code sent as a pull request. 
https://github.com/apache/incubator-phoenix/pull/22. 
I still need to do the following
a) Write unit tests for both Loader and Store func.
b) Need to do code refactoring to tie the loose ends.

  Example usage: 
  a)   A = load 'hbase://table/HIRES'  using 
org.apache.phoenix.pig.PhoenixHBaseLoader('localhost');
                
       The above loads the data from a table 'HIRES'
 
 b)   A = load 'hbase://query/SELECT fname,lname FROM HIRES' using  
org.apache.phoenix.pig.PhoenixHBaseLoader('localhost');
        
         The above loads fname and lname columns from 'HIRES' table.

Suggestions and feedback welcome.

> 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.2#6252)

Reply via email to