Pyspark – Retrieve the value from the field dynamically specified in other field of the same data frame
I’m working with PySpark and have a challenging scenario where I need to dynamically retrieve the value of a field specified in another field of the same DataFrame. I then need to compare this dynamically retrieved value with a fixed value.