How to execte sql in Hive through odbc in Erlang?

2014-08-29 Thread 王洋
Hi I have a qustion that execting sql in hive failed. There is my step: [root@ljxz_hd_S1_125.88.254.153_61618_A ~]# erl Erlang R16B01 (erts-5.10.2) [source] [64-bit] [smp:24:24] [async-threads:10] [hipe] [kernel-poll:false] Eshell V5.10.2 (abort with ^G) 1> odbc:start(). ok 2> {ok,Ref} = odbc:con

Re: Best way to add custom UDF jar in HiveServer2

2014-08-29 Thread Jason Dere
If you have a recent version of Hive (0.13+), you could try registering your UDF as a "permanent" UDF which was added in HIVE-6047: 1) Copy your JAR somewhere on HDFS, say hdfs:///home/nirmal/udf/hiveUDF-1.0-SNAPSHOT.jar. 2) In Hive, run CREATE FUNCTION zeroifnull AS 'com.test.udf.ZeroIfNullUDF

Re: unsubscribe

2014-08-29 Thread Lefty Leverenz
Please send your unsubscribe message to user-unsubscr...@hive.apache.org, as shown on the Hive Mailing Lists page. -- Lefty On Fri, Aug 29, 2014 at 3:27 AM, Alexander Alten-Lorenz wrote: >

unsubscribe

2014-08-29 Thread Alexander Alten-Lorenz