title: How to generate array of tuples from a list in scala?
body: <p>I have a row as below (Int,List(String))</p>
  
  <pre><code>(22,List(B00000JCDS, B000004CSZ, B00016XN6Q, B00005LLY3, B00023B1UI))
  </code></pre>
  
  <p>I need to generate a tuple array or any other collection as below:</p>
  
  <pre><code>(22,B00000JCDS)
  (22,B000004CSZ)
  (22,B00016XN6Q)
  (22,B00005LLY3)
  (22,B00023B1UI)
  </code></pre>
  
  <p>How to generate this dataset in Scala?</p>