DISTANCE
This page describes the DISTANCE function in Lenses SQL.
DISTANCE(x1,y1,x2,y2)Processors
SQL Studio
USE `kafka`;
SELECT
DISTANCE(pickup_latitude, pickup_longitude, dropoff_latitude, dropoff_longitude)
FROM nyc-yellow-taxi-trip
LIMIT 1;{
"value": {
"DISTANCE": "8579.658400770431"
}
}Last updated
Was this helpful?

