Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.1.0-m1
-
None
-
None
Description
Here is a physical plan:
{
head : {
type : "APACHE_DRILL_PHYSICAL",
version : 1,
generator :
},
graph : [ {
pop : "parquet-scan",
@id : 1,
entries : [
],
storageengine :
,
ref : "_MAP",
fragmentPointer : 0
}, {
pop : "project",
@id : 2,
exprs : [
,
{ ref : "output.CUSTKEY", expr : "_MAP.C_CUSTKEY" } ],
child : 1
}, {
pop : "sort",
@id : 3,
child : 2,
orderings : [
],
reverse : false
}, {
pop : "streaming-aggregate",
@id : 4,
child : 3,
keys : [
],
exprs : [
]
},
]
}
It is returning these results:
-----------------------------------
NATIONKEY | CUSTOMERS |
-----------------------------------
4 | 0 |
0 | 59916 |
1 | 59841 |
2 | 59952 |
3 | 59849 |
4 | 59969 |
5 | 60471 |
6 | 60316 |
7 | 60153 |
8 | 60215 |
9 | 60236 |
10 | 60101 |
11 | 60056 |
12 | 59757 |
13 | 59909 |
14 | 59476 |
15 | 59834 |
16 | 59796 |
17 | 59788 |
18 | 60065 |
19 | 60048 |
20 | 59803 |
21 | 59997 |
22 | 60065 |
23 | 60381 |
24 | 60006 |
-----------------------------------