The workaround suggests to use the Check the Status and Get Results connector with the StatementHandle from the previous Submit SQL Statement for Execution step, and loop through all the partitions.
However, the Check the Status and Get Results connector only works when setting partition = 0. When I try any other parition (1+), it gives a generic InternalServerError.
[
{
"RowCount": 368,
"UncompressedSize": 100173
},
{
"RowCount": 2282,
"UncompressedSize": 619773
},
{
"RowCount": 382,
"UncompressedSize": 99956
},
{
"RowCount": 2309,
"UncompressedSize": 625931
},
{
"RowCount": 377,
"UncompressedSize": 100136
},
{
"RowCount": 2265,
"UncompressedSize": 602687
},
{
"RowCount": 374,
"UncompressedSize": 100085
},
{
"RowCount": 2277,
"UncompressedSize": 616803
},
{
"RowCount": 367,
"UncompressedSize": 100181
},
{
"RowCount": 2295,
"UncompressedSize": 625229
},
{
"RowCount": 363,
"UncompressedSize": 100025
},
{
"RowCount": 2316,
"UncompressedSize": 634610
},
{
"RowCount": 364,
"UncompressedSize": 100180
},
{
"RowCount": 2306,
"UncompressedSize": 630971
},
{
"RowCount": 360,
"UncompressedSize": 100060
},
{
"RowCount": 2346,
"UncompressedSize": 647986
}
]