furqaankhan commented on code in PR #1001:
URL: https://github.com/apache/sedona/pull/1001#discussion_r1316628803
##########
spark/common/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/InferredExpression.scala:
##########
@@ -100,6 +100,10 @@ object InferrableType {
new InferrableType[Array[Byte]] {}
implicit val longArrayInstance: InferrableType[Array[java.lang.Long]] =
new InferrableType[Array[java.lang.Long]] {}
+ implicit val intArrayInstance: InferrableType[Array[Int]] =
+ new InferrableType[Array[Int]] {}
+ implicit val javaIntArrayInstance: InferrableType[Array[java.lang.Integer]] =
Review Comment:
No particular reason, scala by default takes `Int`. I guess the same reason
we support `Double` and `java.lang.Double`
--
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]