Open jackwang2 opened 3 years ago
Which part is being re-written? It does seem to be wrapping your query into a select <cols> from <your_query>
but I don't think that will really impact redshift performance? (though I'm by no means a comprehensive redshift expert so could be wrong on this part)
As a reference, here is the source code for building the redshift unload statement https://github.com/spark-redshift-community/spark-redshift/blob/master/src/main/scala/io/github/spark_redshift_community/spark/redshift/RedshiftRelation.scala#L173
Here is one of sub queries:
but our original query is:
Could you let us know how to disable such feature please? thanks.