sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Fine (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2817) Sqoop2: NullValueTest fails when running against MySQL database
Date Thu, 04 Feb 2016 21:14:39 GMT

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

Abraham Fine commented on SQOOP-2817:

unfortunately there does not seem to be a database agnostic way to create the cities table
in such a manner as to prevent the timestamp column from being autopopulated with NOW() in
MySQL when the value is set to null. 

i think the best approach here is to just prevent the NullValueTest from setting that column
to null.

no rb due to very simple patch

> Sqoop2: NullValueTest fails when running against MySQL database
> ---------------------------------------------------------------
>                 Key: SQOOP-2817
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2817
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.6
>            Reporter: Abraham Fine
>            Assignee: Abraham Fine
>         Attachments: SQOOP-2817.patch

This message was sent by Atlassian JIRA

View raw message