ajantha-bhat commented on a change in pull request #3481: [CARBONDATA-3548]Geospatial Support: add hash id create,query condition analyze and generate hash id list
URL:
https://github.com/apache/carbondata/pull/3481#discussion_r356542663
##########
File path: geo/src/main/java/org/apache/carbondata/geo/GeoHashImpl.java
##########
@@ -38,10 +41,66 @@
* columns.
*/
public class GeoHashImpl extends CustomIndex<List<Long[]>> {
+ private static final Logger LOGGER =
+ LogServiceFactory.getLogService(GeoHashImpl.class.getName());
+
+ // conversion factor of angle to radian
+ private static final double CONVERT_FACTOR = 180.0;
+ // Earth radius
+ private static final double EARTH_RADIUS = 6371004.0;
+ // Longitude of coordinate origin
Review comment:
remove commented code
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services