Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
A User noticed that running select from a single directory is much faster than union all on two directories.
(https://drill.apache.org/blog/2014/12/09/running-sql-queries-on-amazon-s3/#comment-2349732267)
It seems like UNION ALL operator doesn't parallelize sub scans (its using SINGLETON for distribution type). Everything is ran in single fragment.
We may have to use SubsetTransformer in UnionAllPrule.
Attachments
Issue Links
- links to