title: Connection from Spark to snowflake
body: <p>I am writing this not for asking the question, but sharing the knowledge.
  I was using Spark to connect to snowflake. But I could not access snowflake. It seemed like there was something wrong with internal JDBC driver in databricks.</p>
  
  <p>Here was the error I got.</p>
  
  <pre><code>java.lang.NoClassDefFoundError:net/snowflake/client/jdbc/internal/snowflake/common/core/S3FileEncryptionMaterial
  </code></pre>
  
  <p>I tried many versions of snowflake jdbc drivers and snowflake drivers. It seemed like I could match the correct one.</p>