gengliangwang commented on PR #37462:
URL: https://github.com/apache/spark/pull/37462#issuecomment-1210294998

   > encode('Spark SQL ', 'utf-8') have better readability than 
x'537061726b2053514c'.
   Do we need to consider this factor ?
   
   Well I am trying to follow the existing examples. Also, 
`x'537061726b2053514c'` is straightforward. For `encode('Spark SQL ', 
'utf-8')`, users might need to look up the return type of `encode()` and wonder 
why encoding an ASCII string with utf-8.


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