Page 1 of 1

Fix Width File read Error

Posted: Tue Jun 02, 2020 1:51 pm
by atulgoel
I am getting below error while reading a Fix Width File:

Bad record delimiter after fixed-length record: expected "\n", got " "

Record length in my File seems to be okay and is matching with Schema file.

Any idea?

Posted: Sat Jun 27, 2020 8:15 pm
by ray.wurlod
There's a space ahead of the newline in at least one line. Use a hex editor (such as od -c command) to verify the data structure.