You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org> on 2011/11/01 08:40:33 UTC

[jira] [Commented] (SQOOP-364) Default getCurTimestampQuery() in SqlManager is not working for PostgreSQL

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

jiraposter@reviews.apache.org commented on SQOOP-364:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2657/
-----------------------------------------------------------

Review request for Sqoop and Bilung Lee.


Summary
-------

Postgres can now return the current timestamp.


This addresses bug SQOOP-364.
    https://issues.apache.org/jira/browse/SQOOP-364


Diffs
-----

  src/java/com/cloudera/sqoop/manager/PostgresqlManager.java 6442908 
  src/test/com/cloudera/sqoop/manager/PostgresqlTest.java 574003d 

Diff: https://reviews.apache.org/r/2657/diff


Testing
-------

Unit test added.


Thanks,

Kate


                
> Default getCurTimestampQuery() in SqlManager is not working for PostgreSQL
> --------------------------------------------------------------------------
>
>                 Key: SQOOP-364
>                 URL: https://issues.apache.org/jira/browse/SQOOP-364
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Bilung Lee
>            Assignee: Kate Ting
>            Priority: Minor
>         Attachments: SQOOP-364.patch
>
>
> PostgresqlManager needs to override getCurTimestampQuery() to return "SELECT CURRENT_TIMESTAMP".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira