I have the function below which is supposed to calculate azimuth it has to do the same job as ST_Azimuth of PostGIS in Postgresql.

(st_azimuth.png)

When I execute the function in Java I get a correct answer. However, the problem is after I add this function as a UDF in Hive and I try to execute it. I get the following error.

(error.png)

Any help will be very much appreciated.

More Chems Bezzaz's questions See All
Similar questions and discussions