sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Elmahrek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-1659) Sqoop2: Use result set fetch size in repository
Date Mon, 03 Nov 2014 17:30:34 GMT
Abraham Elmahrek created SQOOP-1659:
---------------------------------------

             Summary: Sqoop2: Use result set fetch size in repository
                 Key: SQOOP-1659
                 URL: https://issues.apache.org/jira/browse/SQOOP-1659
             Project: Sqoop
          Issue Type: Bug
          Components: sqoop2-framework
    Affects Versions: 1.99.4
            Reporter: Abraham Elmahrek
             Fix For: 2.0.0


The following seems unnecessary:

{code}
        ResultSet rset = stmt.getResultSet();
        int count = 0;
        while (rset.next()) {
          count++;
        }
        LOG.info("QUERY(" + query + ") produced unused resultset with "+ count + " rows");
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message