MaxGekk commented on code in PR #56771: URL: https://github.com/apache/spark/pull/56771#discussion_r3474657796
########## docs/sql-ref-datatypes.md: ########## @@ -47,7 +47,7 @@ Spark SQL and DataFrames support the following data types: - `DateType`: Represents values comprising values of fields year, month and day, without a time-zone. - `TimeType(precision)`: Represents values comprising values of fields hour, minute and second with the number of decimal digits `precision` following the decimal point in the seconds field, without a time-zone. - The range of values is from `00:00:00` to `23:59:59` for min precision `0`, and to `23:59:59.999999` for max precision `6`. + The range of values is from `00:00:00` to `23:59:59` for min precision `0`, and to `23:59:59.999999999` for max precision `9`. The default precision is `6`. Review Comment: max is 9, default is 6 by the sql standard. -- 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]
