Github user kiszk commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13909#discussion_r89691689
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/CatalystTypeConverters.scala
 ---
    @@ -412,7 +412,8 @@ object CatalystTypeConverters {
         case d: JavaBigDecimal => new 
DecimalConverter(DecimalType(d.precision, d.scale)).toCatalyst(d)
         case seq: Seq[Any] => new 
GenericArrayData(seq.map(convertToCatalyst).toArray)
         case r: Row => InternalRow(r.toSeq.map(convertToCatalyst): _*)
    -    case arr: Array[Any] => new 
GenericArrayData(arr.map(convertToCatalyst))
    +    case arr: Array[Byte] => arr
    --- End diff --
    
    Sure, I agree with your opinion using the current API. Let me leave it.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to