title: How to use CROSS JOIN and CROSS APPLY in Spark SQL
body: <p>I am very new to Spark and Scala, I writing Spark SQL code. I am in situation to apply CROSS JOIN and CROSS APPLY in my logic. Here I will post the SQL query which I have to convert to spark SQL.</p>
  
  <pre><code>select Table1.Column1,Table2.Column2,Table3.Column3
  from Table1 CROSS JOIN Table2 CROSS APPLY Table3
  </code></pre>
  
  <p>I need the above query to convert in to SQLContext in Spark SQL. Kindly help me. Thanks in Advance. </p>