[
https://issues.apache.org/jira/browse/TRAFODION-3230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678709#comment-16678709
]
ASF GitHub Bot commented on TRAFODION-3230:
-------------------------------------------
Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1739#discussion_r231655749
--- Diff: core/conn/odb/src/odb.c ---
@@ -10183,6 +10183,7 @@ static int Oloadbuff(int eid)
}
Oi++;
}
+ Oi = 1; //the record number need to be initialize for next loop
--- End diff --
This is fine, but it might be a bit clearer to the reader if the
initialization was at the beginning of the loop, for example at line 10090.
> The number of error message is less than the fail rows
> ------------------------------------------------------
>
> Key: TRAFODION-3230
> URL: https://issues.apache.org/jira/browse/TRAFODION-3230
> Project: Apache Trafodion
> Issue Type: Bug
> Components: db-utility-odb
> Affects Versions: any
> Environment: Centos 6.7
> Reporter: XuWeixin
> Assignee: XuWeixin
> Priority: Major
> Fix For: 2.4
>
>
> Less error message raised when using multi thread ODB.
> For example.
> CREATE TABLE TB(NAME VARCHAR(42 CHARS) CHARACTER SET UTF8)
> You need a big data set with wrong data
> *./odb64luo -d dsn -u uid-p pwd -l
> src=srcfile.txt:tgt=tb:**parallel=2:rows=2:bad=bdf.txt***
> The number error message is less than the fail rows.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)