[
https://issues.apache.org/jira/browse/SQOOP-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254108#comment-14254108
]
Sqoop QA bot commented on SQOOP-1929:
-------------------------------------
Testing file
[SQOOP-1929-v1.patch|https://issues.apache.org/jira/secure/attachment/12688423/SQOOP-1929-v1.patch]
against branch sqoop2 took 0:26:20.137255.
{color:green}Overall:{color} +1 all checks pass
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied, but there has been warnings:
{code}<stdin>:549: trailing whitespace.
warning: 1 line adds whitespace errors.
{code}
{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
{color:green}SUCCESS:{color} All integration tests passed
Console output is available
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/818/console].
This message is automatically generated.
> Add support to the Loader API to return number of records written
> -----------------------------------------------------------------
>
> Key: SQOOP-1929
> URL: https://issues.apache.org/jira/browse/SQOOP-1929
> Project: Sqoop
> Issue Type: Bug
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
> Fix For: 1.99.5
>
> Attachments: SQOOP-1929-v1.patch, SQOOP-1929-v3.patch
>
>
> Mirror the functionality in Extractor that has API for rows read. It will be
> a new counter.
> {code}
> /**
> * Return the number of rows read by the last call to
> * {@linkplain Extractor#extract(org.apache.sqoop.job.etl.ExtractorContext,
> java.lang.Object, java.lang.Object, Partition) }
> * method. This method returns only the number of rows read in the last
> call,
> * and not a cumulative total of the number of rows read by this Extractor
> * since its creation. If no calls were made to the run method, this
> method's
> * behavior is undefined.
> *
> * @return the number of rows read by the last call to
> * {@linkplain Extractor#extract(org.apache.sqoop.job.etl.ExtractorContext,
> java.lang.Object, java.lang.Object, Partition) }
> */
> public abstract long getRowsRead();
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)