Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
Can be reproduced using the following plan:
{
head:{
type:"APACHE_DRILL_PHYSICAL",
version:"1",
generator:
},
graph:[
{
@id:1,
pop:"json-scan",
entries: [
],
storageengine:
},
{
pop:"project",
@id:2,
child: 1,
exprs: [
]
},
]
}
Input file, "/tmp/scan4.json":
{
"integer" : "2008"
}
{
"integer" : "2007"
}
{
"integer" : "2006"
}
Output:
2008
2008
2008
From the above output we notice that it always generates values corresponding to the first row. Looks like the buffer is not getting reset to the next row.