HiveServer2 Data Link Fails With "/ by zero" Error
Running a data link to generate a sample results in the following error:
java.lang.ArithmeticException: / by zero
The table being accessed by the data link contains columns, but no data.
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.