cloud-fan commented on a change in pull request #29837: URL: https://github.com/apache/spark/pull/29837#discussion_r517125806
########## File path: docs/sql-ref-datatypes.md ########## @@ -314,3 +314,206 @@ SELECT COUNT(*), c2 FROM test GROUP BY c2; | 3| Infinity| +---------+---------+ ``` + +### Type Conversion + +In general, an expression can contain different data types and type conversion is the transformation of some data types into others in order to resolve type mismatches. Review comment: ``` Type conversion turns the values of one data type to another data type. Spark needs to perform type conversions if users explicitly ask to do so via the CAST operator, or to resolve data type mismatch in operators, functions, and table writing implicitly. ``` ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org