[
https://issues.apache.org/jira/browse/DRILL-6676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16592711#comment-16592711
]
ASF GitHub Bot commented on DRILL-6676:
---------------------------------------
paul-rogers commented on a change in pull request #1429: DRILL-6676: Add Union,
List and Repeated List types to Result Set Loader
URL: https://github.com/apache/drill/pull/1429#discussion_r212809750
##########
File path:
exec/vector/src/main/java/org/apache/drill/exec/vector/complex/BaseRepeatedValueVector.java
##########
@@ -212,6 +212,18 @@ protected void replaceDataVector(ValueVector v) {
vector = v;
}
+ public void setChildVector(ValueVector childVector) {
+
+ // When created, the list uses the default vector of type LATE.
+ // That entry appears as a child vector. Remove it and add the
+ // new type instead.
+
+ assert vector == DEFAULT_DATA_VECTOR;
+ replaceDataVector(childVector);
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add Union, List and Repeated List types to Result Set Loader
> ------------------------------------------------------------
>
> Key: DRILL-6676
> URL: https://issues.apache.org/jira/browse/DRILL-6676
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.15.0
> Reporter: Paul Rogers
> Assignee: Paul Rogers
> Priority: Major
> Fix For: 1.15.0
>
>
> Add support for the "obscure" vector types to the {{ResultSetLoader}}:
> * Union
> * List
> * Repeated List
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)