vmware-archive / sre-test

Greenplum - Open Source SRE test project.
2 stars 0 forks source link

Binary data serialize/deserialize java class not well documented #286

Open indranil-cg opened 2 years ago

indranil-cg commented 2 years ago

Location: https://gpdb.docs.pivotal.io/pxf/6-2/using/hdfs_seqfile.html#write_binary Accessing Hadoop with PXF -> Reading and Writing HDFS SequenceFile Data -> Reading and Writing Binary Data -> Example: Writing Binary Data to HDFS

The document provides a sample java class that is to be used with the schema specific to the example given in the document. However the sample code does not have any comments nor does the document provide any further instructions or links to additional information, that the user can use to modify the code for their own specific schema. Any errors in the code are only revealed when binary data is read/written using PXF making debugging difficult/tedious for someone not familiar with java.