[fix] fix uncaught error when a view does not return `rows`.
Merge pull request #137 from flatiron/fix_rows_error

[fix] fix uncaught error when a view does not return `rows`.