[ 
https://issues.apache.org/jira/browse/APEXMALHAR-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15276974#comment-15276974
 ] 

ASF GitHub Bot commented on APEXMALHAR-1988:
--------------------------------------------

Github user chandnisingh commented on a diff in the pull request:

    
https://github.com/apache/incubator-apex-malhar/pull/186#discussion_r62567410
  
    --- Diff: 
contrib/src/main/java/com/datatorrent/contrib/cassandra/AbstractCassandraInputOperator.java
 ---
    @@ -112,8 +115,15 @@ public void emitTuples()
         String query = queryToRetrieveData();
         logger.debug("select statement: {}", query);
     
    +    SimpleStatement stmt = new SimpleStatement(query);
    +    stmt.setFetchSize(fetchSize);
    --- End diff --
    
    Can this not be done once and not every time ```emitTuples()``` is invoked


> CassandraInputOperator fetches less number of records inconsistenly
> -------------------------------------------------------------------
>
>                 Key: APEXMALHAR-1988
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-1988
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Priyanka Gugale
>            Assignee: Priyanka Gugale
>
> CassandraInputOperator fetches less number of records than available in 
> table. Also number of records returned in each runs are different.



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

Reply via email to