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

    https://github.com/apache/spark/pull/22309#discussion_r224318955
  
    --- 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
    +  case class StrWrapper(s: String) extends AnyVal
    +
    +  case class ValueClassData(
    +    intField: Int,
    +    wrappedInt: IntWrapper,
    +    strField: String,
    +    wrappedStr: StrWrapper)
    --- End diff --
    
    We might need a comment to describe what this class is look like in Java.
    Seems like it has 2 int fields `intField`, `wrappedInt`, and 2 string 
fields `strField`, `wrappedStr`. I'm not sure it is the same in Scala 2.12, 
though.


---

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

Reply via email to