[
https://issues.apache.org/jira/browse/PHOENIX-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895274#comment-13895274
]
Prashant Kommireddi commented on PHOENIX-11:
--------------------------------------------
We could insert the phoenix query in load statement.
{code}
LOAD 'hbase://query/Select id, first_name, last_name from MyPhoenixTable'
USING PhoenixHBaseStorage('localhost');
AS (id:bytearray, first_name:chararray, last_name:chararray);
{code}
*It's important to disallow any statements that might cause data mutations,
it's safe to only allow SELECT statements within LOAD*
> 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)