RE: hive add jar question

2012-12-21 Thread java8964 java8964
Hi, Mark: Thanks for your response. Maybe my question is not clear. The properties file is in the jar, and also in the top level. I put the properties in the jar files before, in all kinds of Java project, not problem ever. But in hive, it will complain at run time that the it is NULL for "this

Re: hive add jar question

2012-12-21 Thread Mark Grover
Here is a relevant thread: http://mail-archives.apache.org/mod_mbox/hive-user/201008.mbox/%3CAANLkTi=+nongcobujhqshaimxuoo52xfkwbfefu92...@mail.gmail.com%3E I have personally used the "add file" functionality when accessing resources. You can access them just by their name in your code. About #2,

RE: reg : getting table values in inputFormat in serde

2012-12-21 Thread java8964 java8964
Actually I am backing up this question. In additional for that, I wonder if it is possible we can access the table properties from the UDF too. I also have XML data, but with namespace into it. The XPATH UDF coming from HIVE doesn't support namespace. To support the namespace in XML is simple, j

RE: reg : getting table values in inputFormat in serde

2012-12-21 Thread Connell, Chuck
So you have an XML serde? Did you write it? How can others download it? Chuck From: Mohit Chaudhary01 [mohit_chaudhar...@infosys.com] Sent: Friday, December 21, 2012 6:39 AM To: user@hive.apache.org Subject: RE: reg : getting table values in inputFormat in serde

RE: reg : getting table values in inputFormat in serde

2012-12-21 Thread Mohit Chaudhary01
Actually I am storing data from xml file into hive table using serde. Now I want table properties which I given during table creation in inputformat . From: Nitin Pawar [mailto:nitinpawar...@gmail.com] Sent: Friday, December 21, 2012 3:16 PM To: user@hive.apache.org Subject: Re: reg : getting t

Re: reg : getting table values in inputFormat in serde

2012-12-21 Thread Nitin Pawar
What kind of table properties you want to be accessed ? and what you want to achieve from it in serde ? On Fri, Dec 21, 2012 at 11:04 AM, Mohit Chaudhary01 < mohit_chaudhar...@infosys.com> wrote: > Hi > > In serde program I need table properties in inputformat file . > > So can anyo