Member since
05-29-2023
6
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
856 | 06-21-2023 04:47 PM |
06-21-2023
04:47 PM
Thank you @MattWho, the trick worked! Sadly, it worked for this simple case, but for more complex cases we couldn't find a pattern to apply it. However, we found another workaround by using literals like this: Expression Value { "${literal('$${key1}')}": "${literal('$${value1}')}", "key2": "${literal('$${value2}')}", "${literal('$${key3}')}": "value3", "key4": "${literal('value4')}" } { "${key1}": "${value1}", "key2": "${value2}", "${key3}": "value3", "key4": "value4" } It's a nasty hack, but it gets the job done! Thanks again for your help and for filling a bug report.
... View more
06-21-2023
11:15 AM
We are having escaping issues in some expressions. Just an example (using Nifi 1.21.0): Expression Value {"$${key}": "value"} {"${key}": "value"} {"$${key}": "${literal('value')}"} {"$${key}": "value"} As one can see, the second expression is not escaping the dollar sign as it should (from the docs, see "Escaping Expression Language"), and just stays as "$$". Any comments/hints would be much appreciated.
... View more
Labels:
- Labels:
-
Apache NiFi
06-01-2023
08:35 AM
Wow, that was fast, thank you very much @steven-matison!
... View more
05-30-2023
06:58 AM
Thank you for helping with this, @steven-matison!
... View more
05-29-2023
08:36 AM
Thank you @DianaTorres for your comment. Let's see what the experts have to say. Regards!
... View more
05-29-2023
08:13 AM
I'm attempting to transition from using PutBigQueryBatch to PutBigQuery. However, the latter doesn't seem to evaluate the dataset and table attributes as expected. In the provided example, one processor has the values hardcoded, which works correctly, while the other processor relies on retrieving those values from the flowfile's attributes. However, it appears that the attributes are not being properly evaluated. The example flow (using Nifi 1.21.0): The flowFile used: The left PutBigQuery processor has hardcoded values, and it works: The right PutBigQuery processor fails because it seems it's using the EL definition but it's not evaluating it: Any help would be appreciated.
... View more
Labels:
- Labels:
-
Apache NiFi