You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (Jira)" <ji...@apache.org> on 2021/03/25 21:33:00 UTC

[jira] [Assigned] (HIVE-24942) Consider use of lambda expressions in formatters.

     [ https://issues.apache.org/jira/browse/HIVE-24942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Naveen Gangam reassigned HIVE-24942:
------------------------------------


> Consider use of lambda expressions in formatters.
> -------------------------------------------------
>
>                 Key: HIVE-24942
>                 URL: https://issues.apache.org/jira/browse/HIVE-24942
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 4.0.0
>            Reporter: Naveen Gangam
>            Assignee: Narayanan Venkateswaran
>            Priority: Major
>
> ArrayList dcDescription = new ArrayList();
> dcDescription.add(connector);
> dcDescription.add(type);
> dcDescription.add(ownerName);
> dcDescription.add(ownerType);
> dcDescription.add(HiveStringUtils.escapeJava(comment));
> dcDecription.add(params.toString());
> Consumer description_handler = (param) -> { out.write(param.getBytes(StandardCharsets.UTF_8));};
> dcDescription.forEach(param);



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