use a special case for streaming queries