try using a single query range with new tableinputformat class