title: How to CROSS JOIN 2 dataframe?
body: <p>I am struggling to get the CROSS JOIN of 2 data frame. I am using spark 2.0. How can I implement CROSSS JOIN with 2 data frame.?</p>
  
  <p>Edit:</p>
  
  <pre><code>val df=df.join(df_t1, df("Col1")===df_t1("col")).join(df2,joinType=="cross join").where(df("col2")===df2("col2"))
  </code></pre>