hive update lastAccessTime -


i wanted update lastaccesstime on hive table ,after google in web,i solution :

set hive.exec.pre.hooks = org.apache.hadoop.hive.ql.hooks.updateinputaccesstimehook$preexec;  

but if have 2 database & b hive sql:

 set hive.exec.pre.hooks =      org.apache.hadoop.hive.ql.hooks.updateinputaccesstimehook$preexec;     use a;     insert overwrite a.xxx     select  c1,c2 b.xxx; 

hive returned me

org.apache.hadoop.hive.ql.metadata.invalidtableexception(table not found b.xxx


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -