DRILL-496 drill stuck in loop when query parquet file and eventually ran out of memory

Added condition in NullableColumnReader to break out of loop when there are no more pages to read.
DRILL-498 cast to varchar only returns one row
wip
wip