Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> can't verify an output bag with pigUnit?


Copy link to this message
-
can't verify an output bag with pigUnit?
pigUnit compares the serialized string of an output result against a
pre-defined expected output string.

this is a problem with DataBag output, cuz the order of elements in a bag
is not guaranteed.
So the actual output from the test script could be anything, and can't be
compared with an expected serialized string.

how could I solve this usecase?

Thanks
Yang
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB