Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/3066#discussion_r19784424
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/columnar/ColumnType.scala ---
@@ -372,6 +372,11 @@ private[sql] object TIMESTAMP extends
NativeColumnType(TimestampType, 9, 12) {
override def setField(row: MutableRow, ordinal: Int, value: Timestamp):
Unit = {
row(ordinal) = value
}
+
+ def append(v: Date, buffer: ByteBuffer) {
+ buffer.putLong(v.getTime)
+ }
+
--- End diff --
Sure? There's already an `append` method
https://github.com/apache/spark/pull/3066/files#diff-b71f7eb2042698f801a345e8c7e90c5cR364
Otherwise the master branch couldn't have passed Jenkins build.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]