title: How to setup Dataproc to use Postgres CloudSQL as Hive external metasatore
body: <p><a href="https://github.com/GoogleCloudDataproc/initialization-actions/tree/master/cloud-sql-proxy" rel="nofollow noreferrer">https://github.com/GoogleCloudDataproc/initialization-actions/tree/master/cloud-sql-proxy</a></p>
  <p>The above init script has drivers and other configurations setup for the metastore to be use with MySQL only.
  Example functions in the init script supporting the above statement.
  <a href="https://github.com/GoogleCloudDataproc/initialization-actions/blob/master/cloud-sql-proxy/cloud-sql-proxy.sh#L255-L287" rel="nofollow noreferrer">https://github.com/GoogleCloudDataproc/initialization-actions/blob/master/cloud-sql-proxy/cloud-sql-proxy.sh#L255-L287</a>
  <a href="https://github.com/GoogleCloudDataproc/initialization-actions/blob/master/cloud-sql-proxy/cloud-sql-proxy.sh#L289-L311" rel="nofollow noreferrer">https://github.com/GoogleCloudDataproc/initialization-actions/blob/master/cloud-sql-proxy/cloud-sql-proxy.sh#L289-L311</a></p>
  <p>It would be very much appreciated if any one help me to modify init script to support the Postgres CloudSQL as Hive external metastore.</p>