Patch subquery union regression, add INSERT SELECT validation test cases, not safe for production.