Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4319

Processor QueryCassandra crashes if CQL query "SELECT" has only 1 returned field (ArrayIndexOutOfBoundsException)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: Extensions
    • Labels:
    • Environment:
      Ubuntu 14.05/Java 8 Oracle/Cassandra 3.4

      Description

      STEP to reproduce :
      Use QueryCassandra processor
      CQL select query : SELECT txt_content as tcontent from url_content where url_id=${dd.id}
      Output Format : Avro

      ==> ArrayIndexOutOfBoundsException

      If I change CQL query to SELECT url_id, txt_content as tcontent from url_content where url_id=${dd.id}

      ==> Ok

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pvillard Pierre Villard
                Reporter:
                jlvila Jean-Louis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: