Re: Hive Decimal did not parse value correctly when a space pre-pend the value

2016-01-18 Thread Jie Jin
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

Fwd: Hive Decimal did not parse value correctly when a space pre-pend the value

2016-01-17 Thread Jie Jin
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)

Re: Hive UDF gives duplicate result regardless of parameters, when nested in a subquery

2014-07-23 Thread 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

How to run CliDriver with specify site configuration file hive-site.xml

2013-11-16 Thread Jie Jin
); for (ConfVars confVar : ConfVars.values()) { vars.put(confVar.varname, confVar); } }​ Best Regards 金杰 (Jie Jin)