[ https://issues.apache.org/jira/browse/HIVE-25729?focusedWorklogId=689699&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-689699 ]
ASF GitHub Bot logged work on HIVE-25729: ----------------------------------------- Author: ASF GitHub Bot Created on: 03/Dec/21 00:58 Start Date: 03/Dec/21 00:58 Worklog Time Spent: 10m Work Description: dengzhhu653 commented on pull request #2808: URL: https://github.com/apache/hive/pull/2808#issuecomment-985124909 Thank you @sunchao for the review and merge! -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 689699) Time Spent: 1h (was: 50m) > ThriftUnionObjectInspector should be notified when fully inited > --------------------------------------------------------------- > > Key: HIVE-25729 > URL: https://issues.apache.org/jira/browse/HIVE-25729 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Reporter: Zhihua Deng > Assignee: Zhihua Deng > Priority: Minor > Labels: pull-request-available > Fix For: 4.0.0 > > Time Spent: 1h > Remaining Estimate: 0h > > For thread safe purpose, a ReflectionStructObjectInspector instance would > wait for 3 seconds to ensure the returning ObjectInspector is fully inited, > {code:java} > synchronized (soi) { > while (!soi.isFullyInited(checkedTypes)) { > // .... > soi.wait(3000); > } > } {code} > It seems that we are missing to notify ThriftUnionObjectInspector when it has > been inited. -- This message was sent by Atlassian Jira (v8.20.1#820001)