You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2025/03/24 13:51:00 UTC

[jira] [Commented] (NIFI-14094) RecordPath Guide has typo, showing concat examples incorrectly cased

    [ https://issues.apache.org/jira/browse/NIFI-14094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937906#comment-17937906 ] 

Daniel Stieglitz commented on NIFI-14094:
-----------------------------------------

[~markap14] I am not sure if this is what you are referring to but I see this in one of the use cases for UpdateRecord

 
{code:java}
@UseCase(
    description = "Combine multiple fields into a single field.",
    keywords = {"combine", "concatenate", "recordpath"},
    configuration = """
        "Replacement Value Strategy" = "Record Path Value"
        A single additional property is added to the Processor. The name of the property is a RecordPath identifying the field to place the result in.
        The value of the property uses the CONCAT Record Path function to concatenate multiple values together, potentially using other string literal values.
        For example, to combine the `title`, `firstName` and `lastName` fields into a single field named `fullName`, we add a property with the name `/fullName` \
        and a value of `CONCAT(/title, ' ', /firstName, ' ', /lastName)`
        """
)
{code}
 

> RecordPath Guide has typo, showing concat examples incorrectly cased
> --------------------------------------------------------------------
>
>                 Key: NIFI-14094
>                 URL: https://issues.apache.org/jira/browse/NIFI-14094
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Priority: Major
>
> The examples for the {{concat}} function in the RecordPath docs show it using uppercase:
> {code:java}
> CONCAT(/title, ' ', /firstName, ' ', /lastName) {code}
> But as with all RecordPath functions, the function name should be lowercase:
> {code:java}
> concat(/title, ' ', /firstName, ' ', /lastName) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)