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

Pierre Villard commented on NIFI-7141:
--------------------------------------

If renaming the field is an option for you, you could use ReplaceText with some 
regular expressions to prepend a letter to each numerical field name. Something 
like:

 
{code:java}
Search value: "([0-9]+)":
{code}
{code:java}
Replacement value: "a$1":
{code}
Will close this JIRA with "Information provided" status. Feel free to reopen if 
needed.

 

> ValidateRecord does not handle nested Map key type other than string
> --------------------------------------------------------------------
>
>                 Key: NIFI-7141
>                 URL: https://issues.apache.org/jira/browse/NIFI-7141
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>         Environment: Tested with 1.9.0 and 1.11.1 in Linux environment but 
> not related to operating system.
>            Reporter: Harri Miettinen
>            Priority: Major
>         Attachments: MapKeyInt.json, MapKeyInt.xml
>
>
> Hi
> We have some incoming data that where the type is map. Problem is that key is 
> int and not string which cause the map to have invalid data.
> Can Nifi add support for other data types for map keys as well?
> I have attached dummy example flow for example. 
> If there is any good workaround that would be good start.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to