@tnw004 I am not sure if this will help, but you can split the shredding, so some is done by data factory, and the rest in your SQL.
I took your sample, and added values to look like:
<schools>
<school name="school1">
<students>
<student>abc</student>
<student>def</student>
<student>ghi</student>
</students>
</school>
<school name="school2">
<students>
<student>123</student>
<student>456</student>
<student>789</student>
</students>
</school>
</schools>
and mapped as
- I disabled detect data type in source
and the result is
"[\"abc\",\"def\",\"ghi\"]","school1",
"[\"123\",\"456\",\"789\"]","school2",
Then, all you need do is replace \" with " and shred the array.