Hi, does anyone know the purpose of this? What happens is that if you have an instance of Driver and call Driver.run() for several queries, compile() will do
conf.setVar(HiveConf.ConfVars.HIVEQUERYSTRING, queryStr); but then it will call restoreSession() which will reset HIVEQUERYSTRING with whatever is in SessionState, which is the 1st query of the session. so by the time it gets to Driver.execute() String queryStr = HiveConf.getVar(conf, HiveConf.ConfVars.HIVEQUERYSTRING); is no longer the currently executing query, so the log info is off... Thanks, Eugene
