Grokbase Groups Pig user April 2013
FAQ
If first field is utf8 formate,the output will get unrecognized code

SSCNT = FOREACH SSG {UV = DISTINCT SS.ukey; GENERATE '主动搜索uv、pv' as scnt,
FLATTEN(group) AS platform, COUNT(UV) as uv, COUNT(SS.ukey) as pv; };
--
centerqi@gmail.com

Search Discussions

  • Centerqi hu at Apr 24, 2013 at 3:04 am
    Issue is resolved
    as follow
    SSCNT = FOREACH SSG {UV = DISTINCT SS.ukey; GENERATE '主动搜索uv、pv' as
    scnt:chararray, FLATTEN(group) AS platform, COUNT(UV) as uv, COUNT(SS.ukey)
    as pv; };


    2013/4/24 centerqi hu <centerqi@gmail.com>
    If first field is utf8 formate,the output will get unrecognized code

    SSCNT = FOREACH SSG {UV = DISTINCT SS.ukey; GENERATE '主动搜索uv、pv' as scnt,
    FLATTEN(group) AS platform, COUNT(UV) as uv, COUNT(SS.ukey) as pv; };
    --
    centerqi@gmail.com


    --
    centerqi@gmail.com|齐忠

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriespig, hadoop
postedApr 24, '13 at 2:47a
activeApr 24, '13 at 3:04a
posts2
users1
websitepig.apache.org

1 user in discussion

Centerqi hu: 2 posts

People

Translate

site design / logo © 2021 Grokbase