项目作者: sfrechette

项目描述 :
Connect to SQL Server using Apache Spark
高级语言: Scala
项目地址: git://github.com/sfrechette/spark-jdbc-mssql.git
创建时间: 2016-09-10T17:29:33Z
项目社区:https://github.com/sfrechette/spark-jdbc-mssql

开源协议:

下载


spark-jdbc-mssql

Connect to SQL Server using Apache Spark

You need to download and install the JDBC Drivers for SQL Server:
Microsoft JDBC Drivers 6.0, 4.2, 4.1, and 4.0 for SQL Server
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774

Start a Spark shell and make the JDBC SQL Server driver available

  1. bin/spark-shell --driver-class-path /opt/sqljdbc_4.2/enu/sqljdbc42.jar

Then explore and modify the spark-jdbc-mssql.scala accordingly which containing Spark SQL commands…