I'm using Spark 2.3.1. I'm reading data from json file and there are five records of <class 'pyspark.sql.types.Row'> type like
Row(age=24, payloadId=1, salary=2900)
I want to add a new value in all five records, new value is in Dictionary format like this
{'age_condition':True,'salary_condition':True}
so, now new Row should be like this
Row(age=24, payloadId=1, salary=2900, Result={'age_condition':True,'salary_condition':True})