You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jesse Yates (JIRA)" <ji...@apache.org> on 2016/02/10 21:46:18 UTC
[jira] [Commented] (PHOENIX-2674) PhoenixMapReduceUtil#setInput
doesn't honor condition clause
[ https://issues.apache.org/jira/browse/PHOENIX-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141631#comment-15141631 ]
Jesse Yates commented on PHOENIX-2674:
--------------------------------------
A simple fix would be to convert the fields + condition into a select statement and then just call the other setInput method (which takes an input query).
> PhoenixMapReduceUtil#setInput doesn't honor condition clause
> ------------------------------------------------------------
>
> Key: PHOENIX-2674
> URL: https://issues.apache.org/jira/browse/PHOENIX-2674
> Project: Phoenix
> Issue Type: Bug
> Reporter: Jesse Yates
>
> The parameter is completely unused in the method. Further, it looks like we don't actually test this method or any m/r tools directly.
> It would be good to (a) have explicit tests for the MapReduce code - rather than relying on indirect tests like the index util - and, (b) have an example in code for using the mapreduce tools, rather than just the web docs (which can become out of date).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)