dataproc-templates
dataproc-templates copied to clipboard
Prevent Oracle Parallel Query Via NO_PARALLEL Hint
As we control parallelism via numPartitions
we do not want Oracle to then run Spark queries in parallel. It would be really easy to overload a source system if this happens.
We should be able to embed an Oracle hint to prevent this.
/*+ NO_PARALLEL */
This applies to both Python and Java templates.