Hive version 1.1.1
谢谢
金杰 (Jie Jin)
On Mon, Jan 18, 2016 at 3:51 PM, Jie Jin wrote:
> Hi, all
>
> Hive decimal can correctly parse value like "1245" or "-4564". But it
> failed to parse " 12345" (note: there is a space before 12345).
>
> Do a
Hi, all
Hive decimal can correctly parse value like "1245" or "-4564". But it
failed to parse " 12345" (note: there is a space before 12345).
Do anyone met the same problem like this?
I also test impala, impala can parse " 12345" as decimal correctly.
谢谢
金杰 (Jie Jin)
Have you tried this query without UDF, say:
select
array(tp, p, sp) as ps
from
(
select
'tp' as tp,
'p' as p,
'sp' as sp
from
table_name
where
id =
) t;
And how you implement the UDF?
谢谢
金杰 (Jie Jin)
On Wed, Jul 23, 2
);
for (ConfVars confVar : ConfVars.values()) {
vars.put(confVar.varname, confVar);
}
}
Best Regards
金杰 (Jie Jin)