[ https://issues.apache.org/jira/browse/HIVE-21264?focusedWorklogId=213051&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-213051 ]
ASF GitHub Bot logged work on HIVE-21264: ----------------------------------------- Author: ASF GitHub Bot Created on: 14/Mar/19 10:46 Start Date: 14/Mar/19 10:46 Worklog Time Spent: 10m Work Description: rmsmani commented on issue #561: HIVE-21264: Improvements Around CharTypeInfo URL: https://github.com/apache/hive/pull/561#issuecomment-472798917 HI @BELUGABEHR As the Jira ticket is RESOLVED & merged to branch, please close this PR ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 213051) Time Spent: 20m (was: 10m) > Improvements Around CharTypeInfo > -------------------------------- > > Key: HIVE-21264 > URL: https://issues.apache.org/jira/browse/HIVE-21264 > Project: Hive > Issue Type: Improvement > Affects Versions: 4.0.0, 3.2.0 > Reporter: David Mollitor > Assignee: David Mollitor > Priority: Minor > Labels: pull-request-available > Fix For: 4.0.0 > > Attachments: HIVE-21264.1.patch, HIVE-21264.2.patch, > HIVE-21264.3.patch, HIVE-21264.3.patch, HIVE-21264.3.patch, > HIVE-21264.3.patch, HIVE-21264.3.patch > > Time Spent: 20m > Remaining Estimate: 0h > > The {{CharTypeInfo}} stores the type name of the data type (char/varchar) and > the length (1-255). {{CharTypeInfo}} objects are often getting cached once > they are created. > The {{hashcode()}} and {{equals()}} of its sub-classes varchar and char are > inconsistent. > * Make hashcode and equals consistent (and fast) > * Simplify the {{getQualifiedName}} implementation and reduce the scope to > protected > * Other related nits -- This message was sent by Atlassian JIRA (v7.6.3#76005)