[
https://issues.apache.org/jira/browse/SQOOP-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049976#comment-15049976
]
Sqoop QA bot commented on SQOOP-2725:
-------------------------------------
Testing file
[SQOOP-2725.patch|https://issues.apache.org/jira/secure/attachment/12776683/SQOOP-2725.patch]
against branch sqoop2 took 0:28:18.505678.
{color:red}Overall:{color} -1 due to an error(s), see details below:
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1640 tests)
{color:orange}WARNING:{color} Test coverage has decreased
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1975/artifact/patch-process/cobertura_report.txt])
* Package {{connector/connector-generic-jdbc}} has lower test coverage: Line
coverage decreased by 1% (from 79% to 78%), Branch coverage decreased by 2%
(from 56% to 54%)
{color:orange}WARNING:{color} New findbugs warnings
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1975/artifact/patch-process/findbugs_report.txt])
* Package {{common-test}}: Class
{{org.apache.sqoop.common.test.db.DatabaseProvider}} introduced 0 completely
new findbugs warnings.
{color:red}ERROR:{color} Some of integration tests failed
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1975/artifact/patch-process/test_integration.txt],
executed 147 tests)
* Test {{org.apache.sqoop.integration.connector.kafka.FromRDBMSToKafkaTest}}
* Test {{org.apache.sqoop.integration.connector.hive.FromRDBMSToKiteHiveTest}}
* Test {{org.apache.sqoop.integration.connector.kafka.FromHDFSToKafkaTest}}
* Test {{org.apache.sqoop.integration.connector.hdfs.AppendModeTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.IncrementalReadTest}}
* Test {{org.apache.sqoop.integration.connector.jdbc.generic.PartitionerTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.TableStagedRDBMSTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.FromRDBMSToHDFSTest}}
* Test
{{org.apache.sqoop.integration.connector.jdbc.generic.FromHDFSToRDBMSTest}}
* Test {{integration-tests}}
* Test {{org.apache.sqoop.integration.connector.hdfs.FromHDFSToHDFSTest}}
* Test {{org.apache.sqoop.integration.connector.jdbc.generic.AllTypesTest}}
* Test {{org.apache.sqoop.integration.connector.hdfs.S3Test}}
* Test
{{org.apache.sqoop.integration.connector.hdfs.InformalJobNameExecuteTest}}
* Test {{org.apache.sqoop.integration.connector.kite.FromRDBMSToKiteTest}}
* Test {{org.apache.sqoop.integration.connector.hdfs.OutputDirectoryTest}}
* Test {{org.apache.sqoop.integration.connector.hdfs.HdfsIncrementalReadTest}}
Console output is available
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1975/console].
This message is automatically generated.
> Sqoop2: Integration Tests: Prefer using Timestamp types and
> PreparedStatements for inserting rows into test databases
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: SQOOP-2725
> URL: https://issues.apache.org/jira/browse/SQOOP-2725
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.99.6
> Reporter: Abraham Fine
> Assignee: Abraham Fine
> Attachments: SQOOP-2725.patch
>
>
> MySQL, PostgreSQL, and Oracle have slightly different syntaxes for inserting
> dates that PreparedStatements deal with for us. We should use them when
> inserting our test data.
> In addition, each database seems to have different ways of printing dates,
> timestamps seemed to provide the greatest amount of consistency.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)