Juan Ignacio Saitua created NIFI-11608:
------------------------------------------
Summary: PutBigQuery: Missing Flowfile Attribute Evaluation
Key: NIFI-11608
URL: https://issues.apache.org/jira/browse/NIFI-11608
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 1.21.0
Reporter: Juan Ignacio Saitua
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)