presto-main/src/main/java/io/prestosql/type/SmallintOperators.java/SmallintOperators/castToInteger
class SmallintOperators:    @ScalarOperator(CAST)
    @SqlType(StandardTypes.INTEGER)
    public static long castToInteger(@SqlType(StandardTypes.SMALLINT) long value)
    {
        return value;
    }