SuJinpei opened a new pull request #1778: [TRAFODION-3252] odb -cp command does 
not support writting to bad file
URL: https://github.com/apache/trafodion/pull/1778
 
 
   **New Feature Description:** Now, the odb's -cp command supports "bad" 
option. For example, you can use below command to specify where to store the 
records that can't be loaded to Trafodion.
   `./odb64luo -d dsn1:dsn2 -u user1:user2 -p passwd1:passwd2 -cp 
src=tb1:tgt=tb2:bad=badf`
   The bad file records the 'bad' records in the CSV format. 
   
   **Changes In odb:** New field ' **Octype**' to remember the C data type has 
been added to the '**struct tdesc**' to decode the batch buffer if failed to 
load the data to the target table later. Some variables were used for multiple 
purposes, now add new variables to separate it.
   
   **Verification:** No new issue was introduced by running the odb regression 
test set. The new feature also works fine by current test cases. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to