L1_DISTANCE
L1_DISTANCE is a shorthand version of the
VECTOR_DISTANCE function that calculates the Manhattan distance between
two vectors. It takes two vectors as input and returns the distance between them as a
BINARY_DOUBLE.
Parameters
-
expr1andexpr2must evaluate to vectors and have the same format and number of dimensions. -
L1_DISTANCEreturns NULL, if eitherexpr1orexpr2is NULL.
Parent topic: Vector Distance Functions and Operators
