Skip to content

Commit

Permalink
Enabling missing type in ColumnVector.Array
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-databricks committed Apr 26, 2017
1 parent 7a36525 commit b4054af
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ public Object[] array() {

@Override
public boolean getBoolean(int ordinal) {
throw new UnsupportedOperationException();
return data.getBoolean(offset + ordinal);
}

@Override
public byte getByte(int ordinal) { return data.getByte(offset + ordinal); }

@Override
public short getShort(int ordinal) {
throw new UnsupportedOperationException();
return data.getShort(offset + ordinal);
}

@Override
Expand All @@ -199,7 +199,7 @@ public short getShort(int ordinal) {

@Override
public float getFloat(int ordinal) {
throw new UnsupportedOperationException();
return data.getFloat(offset + ordinal);
}

@Override
Expand Down

0 comments on commit b4054af

Please sign in to comment.