presto-main/src/main/java/io/prestosql/operator/aggregation/AggregationMetadata.java/AggregationMetadata/fromSqlType
class AggregationMetadata:        public static ParameterMetadata fromSqlType(Type sqlType, boolean isBlock, boolean isNullable, String methodName)
        {
            return new ParameterMetadata(inputChannelParameterType(isNullable, isBlock, methodName), sqlType);
        }