maropu commented on pull request #29085:
URL: https://github.com/apache/spark/pull/29085#issuecomment-662191688


   I meant the behaivour of v3.0.0. Either way, this PR is getting larger, so I 
think its okay to support it in follow-ups.
   ```
   // v3.0.0
   scala> sql("""
        |   SELECT TRANSFORM(a)
        |   USING 'cat' as output
        |   FROM VALUES (array(1, 2)) t(a)
        | """).show()
   [Stage 0:>                                                          (0 + 1) 
/ 1]20/07/22 10:33:59 ERROR ScriptTransformationWriterThread: 
Thread-ScriptTransformation-Feed exit cause by: 
   java.lang.ClassCastException: 
org.apache.spark.sql.catalyst.expressions.UnsafeArrayData cannot be cast to 
[Ljava.lang.Object;
        at 
org.apache.hadoop.hive.serde2.objectinspector.StandardListObjectInspector.getList(StandardListObjectInspector.java:111)
        at 
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.serialize(LazySimpleSerDe.java:299)
        at org.apache.hadoop.hive.se
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to