You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Tim Robertson <ti...@gmail.com> on 2010/11/11 16:39:56 UTC

UDTF arguments limited to 10?

Is there a maximum limit of 10 fields in a UDTF?

The following is always giving issues:

public void process(Object[] args) throws HiveException {
  ...
  ((LazyInteger) args[10]).getWritableObject().get();


I am trying to do:
create table density_cluster_ungrouped
as select taxonDensityUDTF(kingdom_concept_id, phylum_concept_id,
class_concept_id, order_concept_id,family_concept_id,
genus_concept_id, species_concept_id,nub_concept_id, latitude,
longitude, count, 23) as
(taxonId,tileX,tileY,zoom,clusterX,clusterY,count)
from density_occurrence_grouped;

Thanks,
Tim