@Override
    public void postHook(BeeLine beeLine) {
      if (!beeLine.isBeeLine()) {
        beeLine.getOpts().setHiveConf(beeLine.getCommands().getHiveConf(false));
      }
    }
We need to update some client side information after executing some Hive Commands
beeline/src/java/org/apache/hive/beeline/ClientCommandHookFactory.java