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
Hive >> mail # user >> Length of an array


+
Saurabh S 2012-03-21, 23:30
Copy link to this message
-
Re: Length of an array
https://cwiki.apache.org/Hive/languagemanual-udf.html#LanguageManualUDF-CollectionFunctions

cheers,
-James

On Wed, Mar 21, 2012 at 4:30 PM, Saurabh S <[EMAIL PROTECTED]> wrote:

>  How do I get the length of an array in Hive?
>
> Specifically, I'm looking at the following problem: I'm splitting a column
> using the split() function and a pattern. However, the resulting array can
> have variable number of entries and I want to handle each case separately.
>
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