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

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

I have the rough draft of the code at 
https://gist.github.com/mravi/661e005fe5baac16fdeb . 
The primary functionality of the various classes are 
a) PhoenixInputFormat will use TableInputFormat to generate TableSplits.
b) PhoenixRecordReader will be responsible for calling the scanner on the scan 
within the split.
c) ResultParser will parse the Result and  construct values for the columns 
that will go as response to Pig subsequently.

Also , with this approach , we wouldn't need to generate the SELECT query.

> 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