in modules/spark-ext/spark/src/main/scala/org/apache/ignite/spark/impl/optimization/package.scala [180:196]
def toSqlType(dataType: DataType): String = dataType match {
case BooleanType ⇒ "BOOLEAN"
case IntegerType ⇒ "INT"
case ByteType ⇒ "TINYINT"
case ShortType ⇒ "SMALLINT"
case LongType ⇒ "BIGINT"
case DecimalType() ⇒ "DECIMAL"
case DoubleType ⇒ "DOUBLE"
case FloatType ⇒ "REAL"
case DateType ⇒ "DATE"
case TimestampType ⇒ "TIMESTAMP"
case StringType ⇒ "VARCHAR"
case BinaryType ⇒ "BINARY"
case ArrayType(_, _) ⇒ "ARRAY"
case _ ⇒
throw new IgniteException(s"$dataType not supported!")
}