I have query as below:
SELECT
ducc.*, dl.LOCATIONID, dl.LOCATIONNAME
FROM [table1] ducc
LEFT OUTER JOIN EACH [table2] dl
ON ducc.LOCATIONID = dl.LOCATIONID
WHERE ABS(ducc.LOCATIONID % 30) = 0
It's giving me "Shuffle failed with error: Cannot shuffle more than 3.00T in a single shuffle. One of the shuffle partitions in this query exceeded 7.68G. Strategies for working around this error are available on the go/dremelfaq."
I would assume it's not able to sort and shuffle it properly as I am getting two columns from [table2] as the complexity of permutation is high.
Any work around for this?