Brian Johnson created PHOENIX-1561:
--------------------------------------

             Summary: Pig optimized joins
                 Key: PHOENIX-1561
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1561
             Project: Phoenix
          Issue Type: Bug
            Reporter: Brian Johnson


PhoenixHBaseLoader should implement both OrderedLoadFunc and 
CollectableLoadFunc just like HBaseStorage. There is nothing special that needs 
to be done other than implementing a single method. As in HBaseStorage, it is 
up to the user to ensure that the required constraints are not violated (you 
need to use something like delimited split policy if you are going to take 
advantage of CollectableLoadFunc). 

public void ensureAllKeyInstancesInSameSplit() throws IOException {
        /** 
         * no-op because hbase keys are unique 
         * This will also work with things like 
DelimitedKeyPrefixRegionSplitPolicy
         * if you need a partial key match to be included in the split
         */
        LOG.debug("ensureAllKeyInstancesInSameSplit");
    }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to