Tamas Palfy created NIFI-13484:
----------------------------------

             Summary: HBase_2_ClientService.scan doesn't return single row
                 Key: NIFI-13484
                 URL: https://issues.apache.org/jira/browse/NIFI-13484
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: Tamas Palfy
            Assignee: Tamas Palfy


https://issues.apache.org/jira/browse/NIFI-12142 changed the deprecated
{code:java}
        final Scan scan = new Scan();
        scan.setStartRow(startRow);
        scan.setStopRow(endRow);
{code}
to
{code:java}
        Scan scan = new Scan();
        scan = scan.withStartRow(startRow);
        scan = scan.withStopRow(endRow);
{code}
While the two are almost identical logically, they behave differently when 
{{startRow}} and {{endRow}} are the same. While both {{setStopRow}} and 
{{withStopRow}} are _exclusive_ by default, when {{startRow}} and {{endRow}} 
are the same, this exclusivity doesn't prevent {{startRow}} from appearing in 
the result for the deprecated method variants while it does for the newer ones.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to