maxIntersectionsPosition
maxIntersectionsPosition
Introduced in: v1.1
Aggregate function that calculates the positions of the occurrences of the maxIntersections function.
Syntax
Arguments
start_column— A numeric column that represents the start of each interval. Ifstart_columnisNULLor 0 then the interval will be skipped.(U)Int*orFloat*end_column— A numeric column that represents the end of each interval. Ifend_columnisNULLor 0 then the interval will be skipped.(U)Int*orFloat*
Returned value
Returns the start positions of the maximum number of intersected intervals. Any
Examples
Finding maximum intersections position