Skip to content

Commit

Permalink
Merge pull request #957 from epishkin/vertica
Browse files Browse the repository at this point in the history
VerticaJdbcDriver
  • Loading branch information
johnynek committed Jul 14, 2014
2 parents 27755c4 + 49dfb52 commit c2a148e
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import cascading.tuple.Fields
* double("col4")
* )
* override def currentConfig = ConnectionSpec(
* ConnectUrl("jdbc:mysql://mysql01.company.com:3306/production"),
* UserName("username"), Password("password"),
* ConnectUrl("jdbc:mysql://mysql01.company.com:3306/production"),
* UserName("username"), Password("password"),
* MysqlDriver
* )
* }
Expand Down Expand Up @@ -234,6 +234,17 @@ case object HsqlDbDriver extends JdbcDriver {
override val driver = DriverClass("org.hsqldb.jdbcDriver")
}

/**
* Old Vertica 4.1 jdbc driver
* see https://my.vertica.com/docs/5.1.6/HTML/index.htm#16699.htm
*/
case object VerticaDriver extends JdbcDriver {
override val driver = DriverClass("com.vertica.Driver")
}

/**
* Vertica jdbc driver (5.1 and higher)
*/
case object VerticaJdbcDriver extends JdbcDriver {
override val driver = DriverClass("com.vertica.jdbc.Driver")
}

0 comments on commit c2a148e

Please sign in to comment.