title: Spark scala split string and convert to dataframe with two columns
body: <p>test = "a1-b1,a2-b2"</p>
  
  <p>I want this string to be converted to  a dataframe as</p>
  
  <p>with columns A and B holding respective a1,a2 and b1,b2</p>