Record IO C++ binding: buffer type not handled correctly
--------------------------------------------------------
Key: HADOOP-1222
URL: https://issues.apache.org/jira/browse/HADOOP-1222
Project: Hadoop
Issue Type: Bug
Reporter: David Bowen
I added this code to the test, which currently only tests
serialization/deserialization of an empty buffer.
std::string& b = r1.getBufferVal();
static char buffer[] = {0, 1, 2, 3, 4, 5};
for (int i = 0; i < 6; i++) {
b.push_back(buffer[i]);
}
The csv test fails. The generated file looks like this.
T,102,4567,99344109427290,3.145000,1.523400,',# 0 1 2 3 4 5 0 1 2 3 4 5,v{},m{}
The xml test passes, but the data in the xml file is wrong:
<value><string>000102030405000102030405000102030405</string></value>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.