Skip to content

Instantly share code, notes, and snippets.

@hyunsik
Created August 25, 2016 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyunsik/73c4c4abe63ae55b051a4195b4b26557 to your computer and use it in GitHub Desktop.
Save hyunsik/73c4c4abe63ae55b051a4195b4b26557 to your computer and use it in GitHub Desktop.
Vectorized row block in Hive
public class VectorizedRowBatch implements Writable {
public int numCols; // number of columns
public ColumnVector[] cols; // a vector for each column
public int size; // number of rows that qualify (i.e. haven't been filtered out)
public int[] selected; // array of positions of selected values
public int[] projectedColumns;
public int projectionSize;
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment