HiveServer2 Data Link Fails With "/ by zero" Error

Problem

Running a data link to generate a sample results in the following error:

java.lang.ArithmeticException: / by zero 
at datameer.dap.common.job.mr.input.v2.impl.SamplingSplitter.createSplits(SamplingSplitter.java:43) 
at datameer.dap.common.job.mr.input.v2.impl.CombineSplitter.createSplits(CombineSplitter.java:41)
...

Cause

The table being accessed by the data link contains columns, but no data.  

Solution

While the error is misleading, it doesn't indicate an issue with the job itself.
Investigate the reason why the table contains no data if it is supposed to have data.

An enhancement request known as DAP-35540 has been opened to improve the error message thrown in this circumstance.