kiszk edited a comment on pull request #31709:
URL: https://github.com/apache/spark/pull/31709#issuecomment-791902837


   I think that this is the almost minimum set, which can be easily specified, 
to reproduce the problem.   
   
   `ANSI mode: cast string to timestamp with parse error` and `encode/decode 
for nested Scala class should work` may have implicit dependency. I think that 
`SPARK-27671: cast from nested null type in struct` is not related to this 
reproduction.
   
   ```
   % build/sbt "catalyst/testOnly  *AnsiCastSuiteWithAnsiModeOn 
*ExpressionEncoderSuite -- -z nested -z parse "
   ...
   [info] AnsiCastSuiteWithAnsiModeOn:
   [info] - SPARK-27671: cast from nested null type in struct (1 second, 407 
milliseconds)
   [info] - ANSI mode: cast string to timestamp with parse error (1 second, 309 
milliseconds)
   [info] ExpressionEncoderSuite:
   [info] - encode/decode for nested Scala class should work: 
MalformedNameExample(42) (codegen path) *** FAILED *** (203 milliseconds)
   [info]   Exception thrown while decoding
   [info]   Converted: [0,2a]
   [info]   Schema: x#18318
   [info]   root
   [info]   -- x: integer (nullable = false)
   [info]   
   ...
   ```


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