how can I pass specific data in a column containing SQL logic to get value if logic is fulfilled?
I have a table containing sql_logic and value, if logic is fulfilled by values of A,B,C which is saved in pyspark dataframe, then it should be populated as 1 in active_id column like below