title: How to use output of RedShift query as input of an EMR job?
body: <p>So my limited understand of Redshift this is my plan for going about my problem...</p>
  
  <p>I want to take the results of a query, and use them as an input for an EMR job. What is the best way to go about this programmaticly.</p>
  
  <p>Currently my EMR job takes a flat file from S3 as the input, and I use the Amazon Java SDK, to set this job up and everything.</p>
  
  <p>Should I write the output of my RedShift query to S3, and point my EMR job there, and then remove the file after the EMR job has completed?</p>
  
  <p>Or does the RedShift  and AWS SKD offer a more resourceful way to  directly pipe the query from RedShift  to EMR, cutting out the the S3 step?</p>
  
  <p>Thanks</p>
  
  <p>Recently spoke with memebers of Amazon Redshift Team, they said a solution for this is in the works. </p>