CODAIT / spark-netezza

Netezza Connector for Apache Spark
Apache License 2.0
13 stars 7 forks source link

short name 'netezza' is not working for spark-netezza data source. #10

Open sureshthalamati opened 8 years ago

sureshthalamati commented 8 years ago

Spark datasource api has mechanism to support short names/aliased for data source. Currently for netezza connector it does not work. Users has to use "com.ibm.spark.netezza" instead of short name "netezza"

usage. CREATE TABLE my_table USING netezza
OPTIONS ( url 'jdbc:netezza://netezzahost:5480/database', user 'username', password 'password', dbtable 'tablename' );

or

sqlContext.read.format("netezza").options(defaultOpts).load()