You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2011/06/22 16:24:47 UTC

[jira] [Updated] (MAPREDUCE-2614) Allow append arbitrary text at the end of generated query in DBOutputFormat class

     [ 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