lwhay / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Need Micro-distinct physical operator #824

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Distinct operations in nested pipelines do not work:

for $page_views in dataset page_views
group by $g := $page_views.user with $page_views
  return {
"name": $g,
 "count": count(for $t in $page_views
distinct by $t.action return $t.timespent)
};

Attempting to construct a nested plan with 3 operator descriptors. Currently, 
nested plans can only consist in linear pipelines of Asterix micro operators. 
[AlgebricksException]

We need a Micro-distinct physical operator here.

Original issue reported on code.google.com by buyingyi@gmail.com on 18 Nov 2014 at 10:00