title: External Hive Table Refresh table vs MSCK Repair
body: <p>I have external hive table stored as Parquet, partitioned on a column say <code>as_of_dt</code> and data gets inserted via spark streaming. 
  Now Every day new partition get added.  I am doing  <code>msck repair table</code> so that the hive metastore gets the newly added partition info. Is this the only way or is there a better way? I am concerned if downstream users querying the table, will <code>msck repair</code> cause any issue in non availability of data or stale data? I was going through the  <code>HiveContext</code> API and see <code>refreshTable</code> option. Any idea if this makes sense to use <code>refreshTable</code> instead ?</p>