Oh yeah its in the dataframe I just did not manipulate it in the first block of dplyr code. But I can see it when I click the dropdown arrow for match_cat2 in the connections tab.
I've not used Spark in a while, so my skills are rusty, but just visually your code looks totally fine. One thing to try is to maybe assign Var_G to a different column. So in your mutate call assign it to Var_temp or something to see if that helps.
Thank you guys so much! I am thinking of using the spark_apply() function but I am a bit lost about where I need to include the function(e) within the following dplyr syntax.
Here is my attempt at using the spark_apply() function with the mutate equation from above. I would love some help with how to use the function(e) and where the e goes within the syntax. I don't have any experience using a function within another function like this.