That's actually the documented behavior:
https://pig.apache.org/docs/r0.10.0/func.html#count
There was some discussion about changing this:
https://issues.apache.org/jira/browse/PIG-1014
Patches gratefully accepted..
D
On Sat, Sep 14, 2013 at 12:01 AM, centerqi hu wrote:
> The sample.txt fil
Loaders and UDFs are all initialized at the compilation phase, so you can't
pass dynamically calculated values in (you can do some things by
pre-calculating constants like current time, etc, using variable binding
via the define keyword, but you are trying to do something far more fancy).
Moreover
Don't use CombinedFile InputFormat / Record Reader. Just let Pig do its
thing.
On Wed, Sep 18, 2013 at 9:08 AM, ÐΞ€ρ@Ҝ (๏̯͡๏) wrote:
> I tried this
> http://pig.apache.org/docs/r0.8.1/cookbook.html#Combine+Small+Input+Files
>
> Test Job Details
> Input 7 Files * 51MB each
>
> HDFS Counters of
Improper capitalization. Storage functions are case sensitive, try
JsonLoader.
On Mon, Sep 23, 2013 at 2:37 PM, jamal sasha wrote:
> Hi,
>
> I am trying to read simple json data as:
> d =LOAD 'json_output' USING
> JSONLOADER(('ip:chararray,_id:chararray,cats:[chararray]');
> But I am getting th
never mind :D
On Mon, Sep 23, 2013 at 2:37 PM, jamal sasha wrote:
> Hi,
>
> I am trying to read simple json data as:
> d =LOAD 'json_output' USING
> JSONLOADER(('ip:chararray,_id:chararray,cats:[chararray]');
> But I am getting this error:
> 2013-09-23 14:33:17,127 [main] ERROR org.apache.pig.t
Hi,
I am trying to read simple json data as:
d =LOAD 'json_output' USING
JSONLOADER(('ip:chararray,_id:chararray,cats:[chararray]');
But I am getting this error:
2013-09-23 14:33:17,127 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 1070: Could not resolve JSONLOADER using imports: [,
org.a
I tried with 1.2.10 and don't meet the issue anymore.
Regards
--
Cyril SCETBON
On Sep 19, 2013, at 10:28 PM, Cyril Scetbon wrote:
> Hi,
>
> Did you try to build 1.2.10 and to use it for your tests ? I've got the same
> issue and will give it a try as soon as it's released (expected at the en