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 <[email protected]>
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;
}