Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-8260
This is an edge case but the query "SELECT 1 FROM t" causes an error in the Parquet reader because we are not reading any columns. We should have the query planner recognize this and fail the query is invalid.