Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> help!!--Does Pig can be use in this way?!


+
凯氏图腾 2012-04-04, 12:35
+
Corbin Hobus 2012-04-04, 14:07
Copy link to this message
-
Re: help!!--Does Pig can be use in this way?!
Or if it's simple like that, why not just "grep"?

On Wed, Apr 4, 2012 at 7:07 AM, Corbin Hobus <[EMAIL PROTECTED]> wrote:

> If you are just finding the age of one person you are much better off
> using a regular database and SQL or hbase of you need some kind of quick
> random access.
>
> Hadoop/pig is for batch calculations where you need to sift through lots
> of data.
>
> Sent from my iPhone
>
> On Apr 4, 2012, at 6:35 AM, "凯氏图腾" <[EMAIL PROTECTED]> wrote:
>
> > Hello!
> > I wonder if Pig can be use in this way:I have many records,each record
> content name and age,now I want to find out one person's age.I know it is
> easy to make it in Pig Latin, but I just wonder whether it is a good idea
> to select one record in this way or it can't be better than to make it in
> SQL?
> > Thanks!!
>
+
Jonathan Coveney 2012-04-04, 17:24
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB