When query does not specify any specific column to be returned SCAN, for instance,
Drill's planner would use a ColumnList with * column, plus a SKIP_ALL mode. However, the MODE is not serialized / deserialized. This leads to two problems.
1). The EXPLAIN plan is confusing, since there is no way to different from a "SELECT * " query from this SKIP_ALL mode.
2) If the query is to be executed distributed / parallel, the missing serialization of mode would means some Fragment is fetching all the columns, while some Fragment is skipping all the columns. That will cause execution error.
For instance, by changing slice_target to enforce the query to be executed in multiple fragments, it will hit execution error.
Directory "t1" just contains two yelp JSON files.
Ideally, I think when no columns is required from SCAN, the explain plan should show an empty of column list. The MODE of SKIP_ALL together with star * column seems to be confusing and error prone.