phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Roland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1512) Support parameter binding when writing an input query for map/reduce
Date Mon, 08 Dec 2014 19:41:14 GMT

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

Robert Roland commented on PHOENIX-1512:
----------------------------------------

In my use-case, I'm using Spark to query over large HBase tables that have multi-tenancy implemented
using the first column in a compound primary key. I want to restrict my underlying Phoenix
RDD to that key early, using the setInputQuery within PhoenixConfigurationUtil. I would like
to use ParameterBinding here, so I don't need to worry about escaping and such at that level.

> Support parameter binding when writing an input query for map/reduce
> --------------------------------------------------------------------
>
>                 Key: PHOENIX-1512
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1512
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Robert Roland
>
> Given the new map/reduce support in PHOENIX-1454, it would be great if you could write
the input query like using a PreparedStatement, with parameter binding and all. That would
be a good security and productivity boost when working within Spark and map/reduce.



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

Mime
View raw message