title: Format output in Hive Query
body: <p>I am using a (simplified) query like this to get the status of my hive databases:</p>
  
  <pre><code>show databases; 
  show tables
  </code></pre>
  
  <p>but it is a bit confusing because it runs all the lines together like this:</p>
  
  <pre><code>default
  curtime_test
  datetime_test
  datettime_test
  hivesampletable
  sensor
  sensor_part_subset
  sensor_part_subset1
  </code></pre>
  
  <p>Is there anyway I can easily format the output, maybe add a header or something? I was hoping for something like this:</p>
  
  <pre><code>show databases
     default
  show tables
     curtime_test
     datetime_test
     datettime_test
     hivesampletable
     sensor
     sensor_part_subset
     sensor_part_subset1
  </code></pre>
  
  <p>But this would be fine too:</p>
  
  <pre><code>---  show databases ---
  default
  ---- show tables ---
  curtime_test
  datetime_test
  datettime_test
  hivesampletable
  sensor
  sensor_part_subset
  sensor_part_subset1
  </code></pre>