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

PutBigQuery: Missing Flowfile Attribute Evaluation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.21.0
    • 2.0.0-M1, 1.22.0
    • Core Framework
    • None

    Description

      While the documentation states that PutBigQuery should support expression language for DATASET, TABLE_NAME, and SKIP_INVALID_ROWS, that's not really happening. An examination of the code reveals that these expressions are not evaluated in the current implementation ([see code here](https://github.com/apache/nifi/blob/cfd62c9511e43d5010fbfbb12b98b40bdfdb3fc2/nifi-nar-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/bigquery/PutBigQuery.java#L193)). Notably, the issue does not exist in the PutBigQueryBatch processor. While both processors extends the AbstractBigQueryProcessor class, only PutBigQueryBatch utilizes the AbstractBigQueryProcessor.getTableId() method, which correctly evaluates and retrieves the tableId.

      Attachments

        Issue Links

          Activity

            People

              stevenmatison Steven Matison
              jisaitua Juan Ignacio Saitua
              Votes:
              1 Vote for this issue
              Watchers:
              3 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 - 3h 10m
                  3h 10m