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

ASF GitHub Bot commented on NIFI-2310:
--------------------------------------

Github user ijokarumawak commented on the issue:

    https://github.com/apache/nifi/pull/674
  
    +1
    
    I reproduced the validation error before applying this fix using the sample 
input and spec you shared, and confirmed that it's valid with this fix. Run a 
NiFi data-flow to transform Json using Jolt processor. It worked without 
problem.
    Passed local contrib check successfully.
    
    I will merge it in master branch.
    Also I am going to test this with 0.x branch.
    
    Thanks @YolandaMDavis !


> Shiftr Transform in JoltTransformJSON Processor Does Not Support Escaping 
> Special Characters
> --------------------------------------------------------------------------------------------
>
>                 Key: NIFI-2310
>                 URL: https://issues.apache.org/jira/browse/NIFI-2310
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.0.0
>            Reporter: Yolanda M. Davis
>            Assignee: Yolanda M. Davis
>             Fix For: 1.0.0
>
>
> The following jolt spec failed to pass the validation check in 
> JoltTransformJSON:
>     {
>       "\\@context": {
>         "name": "&1.Name",
>         "ingredient": "&1.Inputs",
>         "yield": "\\@context.Makes",
>         "*": "&1.&"
>       },
>       "name": "Name",
>       "ingredient": "Inputs",
>       "yield": "Makes",
>       "*": "&"
>     }
> The reason is the double backslash to escape '@' which should be supported to 
> identify literal characters.
> Upgrading to Jolt version 0.0.21 should resolve this problem since it was 
> fixed in that release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to