You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/03 16:48:00 UTC
[jira] [Work logged] (HIVE-26290) Remove useless calls to DateTimeFormatter#withZone without assignment
[ https://issues.apache.org/jira/browse/HIVE-26290?focusedWorklogId=778197&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-778197 ]
ASF GitHub Bot logged work on HIVE-26290:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Jun/22 16:47
Start Date: 03/Jun/22 16:47
Worklog Time Spent: 10m
Work Description: zabetak opened a new pull request, #3342:
URL: https://github.com/apache/hive/pull/3342
### Why are the changes needed?
Dead code
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Existing tests
Issue Time Tracking
-------------------
Worklog Id: (was: 778197)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Time Spent: 10m
> 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)