zhengruifeng opened a new pull request, #38800:
URL: https://github.com/apache/spark/pull/38800

   ### What changes were proposed in this pull request?
   1, in the sever side, try to match 
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala#L63-L101,
 and use `CreateArray`, `CreateStruct`, `CreateMap` for complex inputs;
   
   2, in the client side, try to match 
https://github.com/apache/spark/blob/master/python/pyspark/sql/types.py#L1335-L1349
 ,
   but do not support `datetime.time` since I don't find a corrsponding sql 
type for it.
   
   ### Why are the changes needed?
   try to support all datatype
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   updated tests


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

To unsubscribe, e-mail: [email protected]

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