-- select h3PointDistM(lat1, lon1,lat2, lon2) AS k from table1 order by k; 111195.05197522961 111228.91103262542 111901.0753744776 111901.07537447763 111901.07537447763 157225.60925091387 157249.55851177874 222457.78082261496 223528.36944466401 223528.36944466401 400900.66882205213 2223901.039504589 -- select h3PointDistKm(lat1, lon1,lat2, lon2) AS k from table1 order by k; 111.1950519752296 111.22891103262542 111.9010753744776 111.90107537447763 111.90107537447763 157.22560925091386 157.24955851177873 222.45778082261498 223.528369444664 223.528369444664 400.9006688220521 2223.901039504589 -- select h3PointDistRads(lat1, lon1,lat2, lon2) AS k from table1 order by k; 0.01745329251994332 0.017458607073268143 0.017564110696598745 0.01756411069659875 0.01756411069659875 0.024678297290546682 0.02468205639176644 0.034917207673048706 0.03508524839120321 0.03508524839120321 0.06292579139178688 0.3490658503988659 -- test for non const cols 0.3490658503988659 0.3490658503988659