Support to query all values if chunk streaming is selected by setting the chunk size <= 0.