title: How to connect to Teradata from pyspark?
body: <p>I am trying to connect to Teradata and DB2 from Pyspark.</p>
  
  <p>I am using the below jars :</p>
  
  <p><em>tdgssconfig-15.10.00.14.jar</em><br>
  <em>teradata-connector-1.4.1.jar</em><br>
  <em>terajdbc4-15.10.00.14.jar</em>
  &amp;
  <em>db2jcc4.jar</em></p>
  
  <p>Connection string:</p>
  
  <pre><code>df1 = sqlContext.load(source="jdbc", driver="com.teradata.jdbc.TeraDriver", url=db_url,user="db_user",TMODE="TERA",password="db_pwd",dbtable="U114473.EMPLOYEE")
  
  df = sqlContext.read.format('jdbc').options(url='jdbc:db2://10.123.321.9:50000/DB599641',user='******',password='*****',driver='com.ibm.db2.jcc.DB2Driver', dbtable='DSN1.EMPLOYEE')
  </code></pre>
  
  <p>Both gives me Driver not found error.</p>
  
  <p>Can we use JDBC drivers for pyspark?</p>