i am passing a csv file to lagstach with records of timestamp and processing time.
i want to create a fliter that checks if the current timestamp lies within the timestamp and processing time of any of the previous records and if condition true want to add a field with value 1 .
so here m trying to check if for the current record the starttime is whether less than the previous record endtime.
but in output its checking the start time with the endtime of the current record itself.
at the comparision level istead of checking with the previous record its checking with itself.