title: Sparklyr split strings
body: <p>I have a file with several lines. For example</p>
  
  <pre><code>A               B       C    
  awer.ttp.net    Code    554
  abcd.ttp.net    Code    747
  asdf.ttp.net    Part    554
  xyz.ttp.net     Part    747
  </code></pre>
  
  <p>I want to make a command in spark in R using sparklyr library with statement to split just column A of the table and I want a new row added to the table D, with values awer, abcd, asdf, and xyz.</p>
  
  <p>I have tried </p>
  
  <pre><code>data_2 %&gt;% sdf_mutate(node2=ft_regex_tokenizer(data_2, input.col = "A", output.col = "D", pattern="[.]")) %&gt;% sdf_register("mutated")
  </code></pre>
  
  <p>And then I try</p>
  
  <pre><code>mut_trial %&gt;% mutate(E=D[[1]])
  </code></pre>
  
  <p>Error in eval(expr, envir, enclos) : object 'D' not found.</p>
  
  <p>I'm not sure if Im doing this the right way but wanted to see if there's any other function to use or if theres a way to fix this function to do what I want.</p>