Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How do I enter an unprintable byte into a nifi property that does not support the expression language?

How do I enter an unprintable byte into a nifi property that does not support the expression language?

New Contributor

I have csv files that are delimited with ascii 01 bytes. I want to utilize a CSVReader controller to read these records and convert to other formats.

My problem is that I don't know how to input a 0x01 byte into the CSVReader "Value Separator" property.

Is there a standard way to do hex escapes in nifi properties? This property does not support the nifi expression language.

Thanks!

1 REPLY 1

Re: How do I enter an unprintable byte into a nifi property that does not support the expression language?

New Contributor

I ended up just using two ReplaceText processors to escape special chars with \, then replace 0x01 with commas. I'd still like to know if there is a way to enter hex characters though.

Don't have an account?
Coming from Hortonworks? Activate your account here