[ 
https://issues.apache.org/jira/browse/CALCITE-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17202461#comment-17202461
 ] 

Vladimir Sitnikov commented on CALCITE-4280:
--------------------------------------------

The cases for transform and stream are different.
Stream materializes the list, and we don't always need that.

> Replace Guava's Lists.transform with Util.transform
> ---------------------------------------------------
>
>                 Key: CALCITE-4280
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4280
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.25.0
>         Environment: Lists.transform has wrong generic signature, and it 
> relies on Guava's Function types.
> We should stick to a single method, so I suggest we go with Util.transform, 
> and we should probably add Lists.transform to forbidden-apis list.
>            Reporter: Vladimir Sitnikov
>            Assignee: Vladimir Sitnikov
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to