younggyuchun opened a new pull request #25458: [SPARK-27931][SQL] Accept 'on' 
and 'off' as input and trim input for the boolean data type.
URL: https://github.com/apache/spark/pull/25458
 
 
   ## What changes were proposed in this pull request?
   This PR aims to add "on" and "off" as input for a boolean data type and 
ignore input whitespace.
   Please see the following what string representations are using for the 
boolean type in other databases. This changes only add "on" and "off" as other 
string representations are already added. 
   
   https://www.postgresql.org/docs/devel/datatype-boolean.html
   https://docs.aws.amazon.com/redshift/latest/dg/r_Boolean_type.html
   
   ## How was this patch tested?
   Added new tests to CastSuite.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to