ARROW-17227: [C++] Extend hash-join unit tests to cover both empty and length=0 batches (#13725)
ARROW-17227: [C++] Extend hash-join unit tests to cover both empty and length=0 batches (#13725)

Authored-by: Weston Pace <0dd0706858a011bb30a3fd82b71cee4f9094c502@gmail.com>
Signed-off-by: Krisztián Szűcs <6bab32dc957a05a87930e779f272342e159326fa@gmail.com>
apache/arrow,icexelloss/arrow,wesm/arrow,apache/arrow,kou/arrow,kou/arrow,kou/arrow,wesm/arrow,apache/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,kou/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,apache/arrow,kou/arrow,apache/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,kou/arrow,apache/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,apache/arrow,wesm/arrow,apache/arrow,kou/arrow,wesm/arrow,apache/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,apache/arrow,kou/arrow,kou/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,wesm/arrow