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

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • Extensions
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: