Does #anyone know the correct terminology for a #function that generates somewhat random data where subsequent calls only increases or decreases? Is monotonic the right word? I basically want to generate something like a unique ID that's as short as feasible and only "goes" in one direction so that they're sortable. Is this dumb? I feel like I must be missing something because my searches aren't helpful so far. #programming #cryptography
pyspark.sql.functions.monotonically_increasing_id — PySpark 4.1.1 documentation