ail.com]
> Sent: Tuesday, June 12, 2012 5:12 PM
> To: user@hive.apache.org
> Subject: Re: hadoop.io.DoubleWritable v/s hive.serde2.io.DoubleWritable
>
> If you use Double or double hive will automatically convert. I would always
> recommend the hive.serde types.
>
>
Edward Capriolo [mailto:edlinuxg...@gmail.com]
Sent: Tuesday, June 12, 2012 5:12 PM
To: user@hive.apache.org
Subject: Re: hadoop.io.DoubleWritable v/s hive.serde2.io.DoubleWritable
If you use Double or double hive will automatically convert. I would always
recommend the hive.serde types.
Edward
If you use Double or double hive will automatically convert. I would
always recommend the hive.serde types.
Edward
On Tue, Jun 12, 2012 at 4:56 PM, wrote:
> Hi Guys,
>
>
>
> I am writing a UDF in hive to convert a double value to string, so the
> evaluate method of my UDF class looks like
>
>
>
Hi Guys,
I am writing a UDF in hive to convert a double value to string, so the evaluate
method of my UDF class looks like
import org.apache.hadoop.hive.ql.exec.UDF;
import org.apache.hadoop.io.Text;
//import org.apache.hadoop.io.DoubleWritable; - does not work
import org.apache.hadoop.hive.serd