diff --git a/build.sbt b/build.sbt index a73b000..b7b524d 100644 --- a/build.sbt +++ b/build.sbt @@ -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" diff --git a/common/src/main/scala/com/alpine/sql/DatabaseType.scala b/common/src/main/scala/com/alpine/sql/DatabaseType.scala index 18eada4..a484134 100644 --- a/common/src/main/scala/com/alpine/sql/DatabaseType.scala +++ b/common/src/main/scala/com/alpine/sql/DatabaseType.scala @@ -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 @@ -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) @@ -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 @@ -68,6 +70,7 @@ object DatabaseType { DB2Name -> db2, MongoName -> mongo, CassandraName -> cassandra, - BigQueryName -> bigquery + BigQueryName -> bigquery, + TDVName -> compositesw ) }