#x27;column_name' should be numeric type. But right
> now, in the API, I can not get this information. Only thing I can get is
> the category type information, but I want more.
>
> Is it possible to do that in hive 0.7.1?
>
> Thanks for your help.
>
> Yong
>
>
meric type. But right now, in the API,
I can not get this information. Only thing I can get is the category type
information, but I want more.
Is it possible to do that in hive 0.7.1?
Thanks for your help.
Yong
Date: Thu, 27 Sep 2012 02:32:19 +0900
Subject: Re: How can I get the constant
Hi Yong
The way GenericUDF works is as follows.
*ObjectInspector initialize(ObjectInspector[] arguments) *is called only
once for one GenericUDF instance used in your Hive query. This phase is for
preparation steps of UDF, such as syntax check and type inference.
*Object evaluate(DeferredObject[
Hi, I am using Cloudera release cdh3u3, which has the hive 0.71 version.
I am trying to write a hive UDF function as to calculate the moving sum. Right
now, I am having trouble to get the constrant value passed in in the
initialization stage.
For example, let's assume the function is like the fo