Github user maropu commented on the issue:

    https://github.com/apache/spark/pull/15257
  
    I think it is difficult to support Seq and JList because of type erasure. 
If it is possible to add a new interface below, we can support these types via 
`ScalaReflection.schemaFor[T]`.
    ```
      def create[T : TypeTag](v: T): Literal = {
        val ScalaReflection.Schema(dataType, _) = ScalaReflection.schemaFor[T]
        val convert = CatalystTypeConverters.createToCatalystConverter(dataType)
        Literal(convert(v), dataType)
      }
    ```


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to