Forum Discussion

arvindnsn's avatar
arvindnsn
Contributor
2 years ago
Solved

Decode column name that has @ as a prefix

Hello,  I have source data in XML format and all the column entities have "@" as a prefix. I am trying the following expression using "hasPath" function in a mapper to determine if the output of the...
  • svatada's avatar
    2 years ago

    arvindnsn Try enclosing the fields within [ ].

    ex: $['@ID']

    $.hasOwnProperty('[\'@ID\']')