You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/06/09 10:11:00 UTC
[jira] [Resolved] (HIVE-26290) Remove useless calls to DateTimeFormatter#withZone without assignment
[ https://issues.apache.org/jira/browse/HIVE-26290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis resolved HIVE-26290.
----------------------------------------
Fix Version/s: 4.0.0-alpha-2
Resolution: Fixed
Fixed in [https://github.com/apache/hive/commit/798d25c61262d872d756b5c73d38172fe1293207.] Thanks for the review [~ayushsaxena] !
> Remove useless calls to DateTimeFormatter#withZone without assignment
> ---------------------------------------------------------------------
>
> Key: HIVE-26290
> URL: https://issues.apache.org/jira/browse/HIVE-26290
> Project: Hive
> Issue Type: Task
> Components: HiveServer2
> Reporter: Stamatis Zampetakis
> Assignee: Stamatis Zampetakis
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-2
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> There are some places in the code calling \{{DateTimeFormatter#withZone}} without assigning the result anywhere. This basically makes the call useless since the method does not modify the formatter instance but always creates a new one.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)