File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
external/maprdb/src/main/scala/com/mapr/db/spark/sql/utils Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ object MapRSqlUtils {
403403 case (BinaryType ) => DBValueBuilderImpl .KeyValueBuilder .initFrom(element.asInstanceOf [ByteBuffer ])
404404 case (BooleanType ) => DBValueBuilderImpl .KeyValueBuilder .initFrom(element.asInstanceOf [Boolean ])
405405 case (DateType ) => DBValueBuilderImpl .KeyValueBuilder .initFrom(new ODate (element.asInstanceOf [java.sql.Date ]))
406- case (TimestampType ) => DBValueBuilderImpl .KeyValueBuilder .initFrom(element.asInstanceOf [OTimestamp ] )
406+ case (TimestampType ) => DBValueBuilderImpl .KeyValueBuilder .initFrom(new OTimestamp ( element.asInstanceOf [java.sql. Timestamp ].getTime) )
407407 case (NullType ) => DBValueBuilderImpl .KeyValueBuilder .initFromNull()
408408 case (DoubleType ) => DBValueBuilderImpl .KeyValueBuilder .initFrom(element.asInstanceOf [Double ])
409409 case (IntegerType ) => DBValueBuilderImpl .KeyValueBuilder .initFrom(element.asInstanceOf [Integer ])
You can’t perform that action at this time.
0 commit comments