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
Post a Comment