Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import sbtassembly.Plugin.AssemblyKeys._
import sbt.Keys.resolvers
//import com.typesafe.sbt.SbtGit.GitKeys

val sdkVersion = "1.11"
val javaSourceVersion = "1.7"
val javaTargetVersion = "1.7"
val sdkVersion = "1.12"
val javaSourceVersion = "1.8"
val javaTargetVersion = "1.8"
val scalaMajorVersion = "2.11"
val scalaFullVersion = "2.11.8"
val sparkVersion = "2.1.2"
Expand Down
9 changes: 6 additions & 3 deletions common/src/main/scala/com/alpine/sql/DatabaseType.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* COPYRIGHT (C) Jan 26 2016 Alpine Data Labs Inc. All Rights Reserved.
*/
* COPYRIGHT (C) Jan 26 2016 Alpine Data Labs Inc. All Rights Reserved.
*/

package com.alpine.sql

Expand Down Expand Up @@ -31,6 +31,7 @@ object DatabaseType {
val MongoName = "mongo"
val CassandraName = "cassandra"
val BigQueryName = "bigquery"
val TDVName = "compositesw"

val postgres = TypeValue(PostgresName) // There is no TypeValue for PostgreSQLName
val oracle = TypeValue(OracleName)
Expand All @@ -48,6 +49,7 @@ object DatabaseType {
val mongo = TypeValue(MongoName)
val cassandra = TypeValue(CassandraName)
val bigquery = TypeValue(BigQueryName)
val compositesw = TypeValue(TDVName)

// All key entries in the map should be lower-case
// When we search for entries in the map, we first cast keys to lower-case
Expand All @@ -68,6 +70,7 @@ object DatabaseType {
DB2Name -> db2,
MongoName -> mongo,
CassandraName -> cassandra,
BigQueryName -> bigquery
BigQueryName -> bigquery,
TDVName -> compositesw
)
}