public Analysis analyze(Statement statement)
    {
        return analyze(statement, false);
    }
@Test(expectedExceptions = SemanticException.class, expectedExceptionsMessageRegExp = "line 1:37: Scalar subqueries in UNNEST are not supported")
    public void testUnnestInnerScalar()
    {
        analyze("SELECT * FROM (SELECT 1) CROSS JOIN UNNEST((SELECT array[1])) AS T(x)");
    }