Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Done
-
Impala 2.5.0
Description
In a table t with a column x with no null values, "SELECT DISTINCT x FROM t LIMIT 1" should be roughly instant. Instead, it finds all the distinct values, then returns one of them.
Attachments
Issue Links
- causes
-
IMPALA-12383 Aggregation with num_nodes=1 and limit returns too many rows
- Resolved