Re: Problem with Hive Indexing

2012-08-16 Thread Ablimit Aji
method. Cheers, Mahsa On Mon, Jul 30, 2012 at 11:12 AM, Ablimit Aji abli...@gmail.com wrote: I have written a custom index handler and wanted to test it. However hive is not using it. So I test with simple table (pokes (int foo, string bar)) which comes with hive distribution

Re: Logging info is not present in console output

2012-08-08 Thread Ablimit Aji
Logs during execution went into Hadoop logs directory (bu default). On Tue, Aug 7, 2012 at 5:31 PM, Ablimit Aji abli...@gmail.com wrote: That's what I'm using right now. It was totally functional in SymenticAnalyzer, but not working properly for JOIN. On Tue, Aug 7, 2012 at 5:28 PM

Re: Logging info is not present in console output

2012-08-07 Thread Ablimit Aji
-hiveconf hive.root.logger=INFO,console This should print the INFO messages onto the console. On Tue, Aug 7, 2012 at 4:07 PM, Ablimit Aji abli...@gmail.com wrote: Hi, I have put some LOG.info() statements inside the join operator and I'm not seeing them by running a join statement

Problem with Hive Indexing

2012-07-30 Thread Ablimit Aji
I have written a custom index handler and wanted to test it. However hive is not using it. So I test with simple table (pokes (int foo, string bar)) which comes with hive distribution for testing purpose. Then I created a compact index and set the set hive.optimize.index.filter=true; However, upon

Custom UDF can not handle constant string parameter

2012-07-25 Thread Ablimit Aji
Hi, I wrote several UDF to handle a string typed column. However, when I feed a constant value to the UDF, it's not recognizing it. What went wrong ? How can I fix it ? Example SQL: SELECT MBB(Polygon ((0 1, 1 1, 0 1, 0 0))) FROM myTable limit 5; MBB(Text) returns Text value However the error

Re: Custom UDF can not handle constant string parameter

2012-07-25 Thread Ablimit Aji
...@gmail.comwrote: It depends on how you wrote the UDF. One trick you can do trick hive into thinking it is non-constant: select a column of 0 length and then concat it. SELECT concat(substring(colx),0,0), myUDF(constant string) ) from Now its not constant! On Wed, Jul 25, 2012 at 4:52 PM, Ablimit