[ 
https://issues.apache.org/jira/browse/DRILL-6230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417341#comment-16417341
 ] 

ASF GitHub Bot commented on DRILL-6230:
---------------------------------------

Github user ppadma commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1161#discussion_r177182331
  
    --- Diff: 
exec/java-exec/src/test/java/org/apache/drill/test/rowSet/test/TestHyperVectorReaders.java
 ---
    @@ -0,0 +1,365 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + * http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.drill.test.rowSet.test;
    +
    +import static org.apache.drill.test.rowSet.RowSetUtilities.mapArray;
    +import static org.apache.drill.test.rowSet.RowSetUtilities.mapValue;
    +import static org.apache.drill.test.rowSet.RowSetUtilities.strArray;
    +import static org.junit.Assert.assertEquals;
    +import static org.junit.Assert.assertFalse;
    +import static org.junit.Assert.assertTrue;
    +
    +import org.apache.drill.common.types.TypeProtos.MinorType;
    +import org.apache.drill.exec.record.metadata.TupleMetadata;
    +import org.apache.drill.exec.record.selection.SelectionVector4;
    +import org.apache.drill.test.SubOperatorTest;
    +import org.apache.drill.test.rowSet.HyperRowSetImpl;
    +import org.apache.drill.test.rowSet.RowSet.ExtendableRowSet;
    +import org.apache.drill.test.rowSet.RowSet.HyperRowSet;
    +import org.apache.drill.test.rowSet.RowSet.SingleRowSet;
    +import org.apache.drill.test.rowSet.RowSetBuilder;
    +import org.apache.drill.test.rowSet.RowSetReader;
    +import org.apache.drill.test.rowSet.RowSetUtilities;
    +import org.apache.drill.test.rowSet.RowSetWriter;
    +import org.apache.drill.test.rowSet.schema.SchemaBuilder;
    +import org.junit.Test;
    +
    +/**
    + * Test the reader mechanism that reads rows indexed via an SV4.
    + * SV4's introduce an additional level of indexing: each row may
    + * come from a different batch. The readers use the SV4 to find
    + * the root batch and vector, then must navigate downward from that
    + * vector for maps, repeated maps, lists, unions, repeated lists,
    + * nullable vectors and variable-length vectors.
    + * <p>
    + * This test does not cover repeated vectors; those tests should be added.
    --- End diff --
    
    please file a JIRA for this.


> Extend row set readers to handle hyper vectors
> ----------------------------------------------
>
>                 Key: DRILL-6230
>                 URL: https://issues.apache.org/jira/browse/DRILL-6230
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Major
>             Fix For: 1.14.0
>
>
> The current row set readers have incomplete support for hyper-vectors. To add 
> full support, we need an interface that supports either single batches or 
> hyper batches. Accessing vectors in hyper batches differs depending on 
> whether the vector is at the top level or is nested. SeeĀ [this 
> post|https://github.com/paul-rogers/drill/wiki/BH-Column-Readers] for 
> details. Also includes a simpler reader template: replaces the original three 
> classes with one, in parallel with the writers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to