[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jarek Jarcec Cecho updated MAPREDUCE-2614:
------------------------------------------

    Release Note: Add new configuration property for DBConfiguration and it's 
propagation to DBOutputFormat
          Status: Patch Available  (was: Open)

I've add new configuration property to DBConfiguration called 
OUTPUT_QUERY_APPEND_PROPERTY. If this property is not empty than it's content 
is appended at the end of query generation in class DBOutputFormat 
(constructQuery method). I've also fixed both test around this two classes.

> Allow append arbitrary text at the end of generated query in DBOutputFormat 
> class
> ---------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2614
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2614
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Jarek Jarcec Cecho
>            Priority: Minor
>
> It would be wonderful if DBOutputFormat class allow addition of arbitrary 
> text at the end of generated query. This feature can be useful for example in 
> case of MySQL database to specify "ON DUPLICATE KEY UPDATE ..." part of the 
> query.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to