You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Yohei Kishimoto (JIRA)" <ji...@apache.org> on 2017/08/28 14:27:00 UTC

[jira] [Created] (STORM-2712) accept arbitrary number of rows per tuple in storm-cassandra

Yohei Kishimoto created STORM-2712:
--------------------------------------

             Summary: accept arbitrary number of rows per tuple in storm-cassandra
                 Key: STORM-2712
                 URL: https://issues.apache.org/jira/browse/STORM-2712
             Project: Apache Storm
          Issue Type: Improvement
          Components: storm-cassandra
    Affects Versions: 2.0.0, 1.1.1
            Reporter: Yohei Kishimoto
            Priority: Minor


Current implementation in `TridentResultSetValuesMapper::map` restricts a SELECT query to return one row. In `StateQueryProcessor::finishBatch`, it checks the equality between the result size of `batchRetrieve` and input tuple size. When the number of result rows is less than 1 or greater than 1, it breaks the condition and an exception is thrown.

We should accept arbitrary number of rows by adjusting List dimensions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)