def explain(query)
      rows = []
      fetch_in_batch("EXPLAIN " + query) do |batch|
        rows << batch.map { |b| b[:Explain] }
      end
      ExplainResult.new(rows.flatten)
    end
def explain(query)
      rows = []
      fetch_in_batch("EXPLAIN " + query) do |batch|
        rows << batch.map { |b| b[:Explain] }
      end
      ExplainResult.new(rows.flatten)
    end
Performs a explain on the supplied query on the server, returns it as a ExplainResult.
 (Only works on 0.12 if you have this patch - https://issues.apache.org/jira/browse/HIVE-5492)