Github user culler commented on a diff in the pull request:
https://github.com/apache/spark/pull/3066#discussion_r19737251
--- 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 --
This won't compile without an implementation of the append method, because
it is declared in the abstract ColumnType class.
---
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]