I've had a recent problem with a SWQL query where there were a number of subqueries. I then wanted to include a new subquery with a SELECT bringing information from the Orion.Groups/Orion.Containers tables. As soon as I did that I got the "Subqueries not supported" message.
I validated everything and tested multiple times with no luck. It seemed to fail on this portion

I could get it to write output based on everything else, so the "when" portion and "then" was all working fine.
I ended up having to rewrite the whole query using a number of JOINS instead.
I have seen the EOC thread already https://thwack.solarwinds.com/product-forums/the-orion-platform/f/orion-sdk/97024/subqueries-are-not-supported-running-queries-in-eoc and posted in there, but we were seeing this same problem in Orion Platform.
Any thoughts? Is this a bug or just an anomaly with the conversion that goes on in the background when it comes to SWQL?