cloud-fan commented on code in PR #41521:
URL: https://github.com/apache/spark/pull/41521#discussion_r1223844129
##########
connector/avro/src/main/scala/org/apache/spark/sql/avro/AvroDeserializer.scala:
##########
@@ -158,7 +158,7 @@ private[sql] class AvroDeserializer(
}
case LONG =>
(logicalDataType, catalystType) match {
- case (LongType, LongType) => (updater, ordinal, value) =>
+ case (_, LongType) => (updater, ordinal, value) =>
Review Comment:
so any physical avro long type can be read as spark long type? does it mean
we can read a daytime interval in avro as long type?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]