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

    https://github.com/apache/spark/pull/22309#discussion_r224944923
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/ScalaReflectionSuite.scala
 ---
    @@ -108,6 +108,16 @@ object TestingUDT {
       }
     }
     
    +object TestingValueClass {
    +  case class IntWrapper(i: Int) extends AnyVal
    --- End diff --
    
    It doesn't but since Spark only supports `case class` (not `class`) for 
schema type. So I keep it that way.
    Child columns can be `class` though. I think adding that in the future on 
top of this is not difficult.


---

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

Reply via email to