File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
java/vector/src/main/java/org/apache/arrow/vector Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 3232import org .apache .arrow .vector .BaseValueVector ;
3333import org .apache .arrow .vector .BufferBacked ;
3434import org .apache .arrow .vector .FieldVector ;
35- import org .apache .arrow .vector .UInt1Vector ;
3635import org .apache .arrow .vector .ValueVector ;
3736import org .apache .arrow .vector .complex .impl .SingleMapReaderImpl ;
3837import org .apache .arrow .vector .complex .reader .FieldReader ;
@@ -61,8 +60,7 @@ public class MapVector extends AbstractMapVector implements FieldVector {
6160 int valueCount ;
6261
6362 // TODO: validity vector
64- private final UInt1Vector bits = new UInt1Vector ("$bits$" , allocator );
65- private final List <BufferBacked > innerVectors = Collections .unmodifiableList (Arrays .<BufferBacked >asList (bits ));
63+ private final List <BufferBacked > innerVectors = Collections .unmodifiableList (Arrays .<BufferBacked >asList ());
6664
6765 public MapVector (String name , BufferAllocator allocator , CallBack callBack ){
6866 super (name , allocator , callBack );
@@ -307,7 +305,6 @@ public void clear() {
307305 for (final ValueVector v : getChildren ()) {
308306 v .clear ();
309307 }
310- bits .clear ();
311308 valueCount = 0 ;
312309 }
313310
@@ -332,7 +329,6 @@ public void close() {
332329 v .close ();
333330 }
334331 vectors .clear ();
335- bits .close ();
336332
337333 valueCount = 0 ;
338334
Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ public static TypeLayout getTypeLayout(final ArrowType arrowType) {
8888
8989 @ Override public TypeLayout visit (Tuple type ) {
9090 List <VectorLayout > vectors = asList (
91- validityVector ()
91+ // TODO: add validity vector in Map
92+ // validityVector()
9293 );
9394 return new TypeLayout (vectors );
9495 }
You can’t perform that action at this time.
0 commit comments