You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by su...@apache.org on 2021/12/02 23:26:33 UTC
[hive] branch master updated: HIVE-25729: ThriftUnionObjectInspector should be notified when fully inited (#2808)
This is an automated email from the ASF dual-hosted git repository.
sunchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 83e48c9 HIVE-25729: ThriftUnionObjectInspector should be notified when fully inited (#2808)
83e48c9 is described below
commit 83e48c9e06e19e97ffcf9254f26dce2fdb8d9add
Author: dengzh <de...@gmail.com>
AuthorDate: Fri Dec 3 07:26:16 2021 +0800
HIVE-25729: ThriftUnionObjectInspector should be notified when fully inited (#2808)
---
.../hadoop/hive/serde2/objectinspector/ThriftUnionObjectInspector.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ThriftUnionObjectInspector.java b/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ThriftUnionObjectInspector.java
index cdfaee2..d3260d7 100644
--- a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ThriftUnionObjectInspector.java
+++ b/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ThriftUnionObjectInspector.java
@@ -102,6 +102,7 @@ public class ThriftUnionObjectInspector extends ReflectionStructObjectInspector
final ObjectInspector reflectionObjectInspector = ObjectInspectorFactory.getReflectionObjectInspector(fieldType, options, false);
fields.add(new StandardStructObjectInspector.MyField(fieldId, fieldName, reflectionObjectInspector));
this.ois.add(reflectionObjectInspector);
+ this.notifyAll();
}
inited = true;
}