I don't think character sequences actually work in Pig scripts. IIRC there
is even a bug reported for it. So using the unescaped character might be
your only choice.

-- Stefan

On 11/11/10 12:34 AM, "Marilson Campos" <[email protected]> wrote:

>Hi,
>I have a file that has the char (254) as a separator. I can force the
>character into the file, but wanted to
>
>
>
>
>
>
>p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
>
>
>
>LOAD 'file.log.gz' USING PigStorage('รพ')
>
>when encoding as UTF-8
>LOAD 'file.log.gz' USING PigStorage('\u00FE')
>It does not parse. I believe \u notation works only with chars that take
>1 byte.
>I need  to encode the xFE byte
>
>
>Thanks for the help in advance.
>Marilson


Reply via email to