@ScalarOperator(INDETERMINATE)
    @SqlType(StandardTypes.BOOLEAN)
    public static boolean indeterminate(@SqlType(StandardTypes.SMALLINT) long value, @IsNull boolean isNull)
    {
        return isNull;
    }
@Test
    public void testIndeterminate()
            throws Exception
    {
        assertOperator(INDETERMINATE, "cast(null as smallint)", BOOLEAN, true);
        assertOperator(INDETERMINATE, "cast(12 as smallint)", BOOLEAN, false);
        assertOperator(INDETERMINATE, "cast(0 as smallint)", BOOLEAN, false);
        assertOperator(INDETERMINATE, "cast(-23 as smallint)", BOOLEAN, false);
        assertOperator(INDETERMINATE, "cast(1.4 as smallint)", BOOLEAN, false);
    }