MoveTasks releasing locks that don't belong to it?

2014-07-23 Thread Darren Yin
In releaseLocks in MoveTask , it looks like the lockMgr.getLocks line actually grabs all locks associated with whatever lock objects (e.g., a partition) the MoveTask is concerned with. My theory for

error in documentation of RLIKE?

2013-07-31 Thread Darren Yin
from here: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-RelationalOperators A RLIKE B stringsNULL if A or B is NULL, TRUE if any (possibly empty) substring of A matches the Java regular expression B, otherwise FALSE. E.g. 'foobar' RLIKE 'foo' evaluates to F

Re: Issue with Oracle Hive Metastore (SEQUENCE_TABLE)

2013-07-03 Thread Darren Yin
you can get the hive 0.9 oracle script here: https://github.com/apache/hive/blob/trunk/metastore/scripts/upgrade/oracle/hive-schema-0.9.0.oracle.sql On Wed, Jul 3, 2013 at 1:22 PM, Raj Hadoop wrote: > Hi, > > When I installed Hive earlier on my machine I used a oracle hive meta > script. Please

Re: Question about weekofyear(string date)

2013-06-13 Thread Darren Yin
It's all right here: monday to monday and has a concept of the first "full" week too. https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFWeekOfYear.java On Thu, Jun 13, 2013 at 2:44 PM, Robert Li wrote: > Hi All > > For this UDF, does it consider the week to

Re: adding "create or replace view" documentation to the wiki

2013-05-15 Thread Darren Yin
wiki about this too? I'd love to update it myself with a couple stubs that at least point to the existence of these functionalities. Is this the right place to make such requests? Thanks again! --Darren On Mon, May 13, 2013 at 9:19 PM, Darren Yin wrote: > I just realized that this h

adding "create or replace view" documentation to the wiki

2013-05-13 Thread Darren Yin
I just realized that this has existed in Hive for a couple years now, but the only reference to it that exists on this page in the wiki https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL is an offhand remark in the documentation for ALTER VIEW AS SELECT. Looks like it was implement