What steps will reproduce the problem?
1. Use VXQuery. See issue #115.
https://issues.apache.org/jira/browse/VXQUERY-115
2. Basically any system that does not represent INT32 typed variable with the
tag value of 3.
3.
What is the expected output? What do you see instead?
The system should use the UNNEST position variable type specified when creating
an UNNEST or provide another method to set this type value. Currently the type
is hard coded to 3, presumably for AsterixDB.
Side note: Is an int the best size for this value? Long?
// Problem code
if (hasPositionalVariable) {
// Write the positional variable as an INT32
tupleBuilder.getDataOutput().writeByte(3);
tupleBuilder.getDataOutput().writeInt(offset + positionIndex++);
tupleBuilder.addFieldEndOffset();
}
Please use labels and text to provide additional information.
Original issue reported on code.google.com by ecarm...@ucr.edu on 29 May 2014 at 4:47
Original issue reported on code.google.com by
ecarm...@ucr.edu
on 29 May 2014 at 4:47