Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2712

accept arbitrary number of rows per tuple in storm-cassandra

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              morokosi Yohei Kishimoto
              morokosi Yohei Kishimoto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h