Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

Who agreed with this solution

avatar
Expert Contributor

Perhaps JoltTransformRecord could help you.

 

The jolt transformation "shift" let's you rename fields - in a csv file's case, headers.

If you know all your replaces ahead of time, you could define a transformation like:

{

operation: shift

spec: {

    "kgg":"g",

    "c34":"c",

    "*":"&"

    }

}

 

Note the last shift, "*":"&" ,  which would transfer over the rest of the headers you didn't specifically rename. 

View solution in original post

Who agreed with this solution