[
https://issues.apache.org/jira/browse/SPARK-57030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Gekk resolved SPARK-57030.
------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
Issue resolved by pull request 56771
[https://github.com/apache/spark/pull/56771]
> Document the TIME data type in the SQL data types reference
> -----------------------------------------------------------
>
> Key: SPARK-57030
> URL: https://issues.apache.org/jira/browse/SPARK-57030
> Project: Spark
> Issue Type: Sub-task
> Components: Documentation
> Affects Versions: 4.2.0
> Reporter: Serge Rielau
> Assignee: Max Gekk
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> h2. What
> Document the {{TIME}} data type on the SQL data-types reference page
> ({{docs/sql-ref-datatypes.md}}) and the type's behavior.
> h2. Content
> * Definition: {{TIME(p) WITHOUT TIME ZONE}}, valid range {{00:00:00}} ..
> {{23:59:59.999999999}}, fractional-seconds precision {{p}} (document the
> supported max -
> 6 today, 9 after SPARK-57551).
> * JVM/Scala/Python mappings: {{java.time.LocalTime}} / Python
> {{datetime.time}}.
> * Literals: {{TIME'HH:mm:ss[.fff]'}}, 12-hour forms, default precision.
> * Supported casts (to/from STRING, TIME(p), numeric/DECIMAL, and TIMESTAMP
> variants as they
> land) and supported data sources (Parquet/ORC/Avro/JSON/CSV/XML; note
> Hive/text limits).
> * The {{spark.sql.timeType.enabled}} feature flag and the
> preview/{{@Unstable}} status.
> h2. Out of scope
> * Function-level reference (covered by SPARK-57031).
> h2. Note
> Coordinate with SPARK-57031 to avoid overlap: this ticket = the data-type
> page; that ticket
> = functions/operators.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]