I have a DataProc cluster with Presto installed as an optional component. My data is stored in google cloud storage (GCS) and I'm able to query it with Presto. However, I didn't find a way to write the query result back to GCS. I can write to hdfs if I logged in to master node and run Presto commands from there, but it doesn't recognize any GCS location.
How can I write the Presto query results to GCS?