Hyukjin Kwon created SPARK-61598:
------------------------------------
Summary: Document every Spark SQL type of DataType in the types
guide
Key: SPARK-61598
URL: https://issues.apache.org/jira/browse/SPARK-61598
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: connect-rust-4.3.0
Reporter: Hyukjin Kwon
The "Types and Schemas" guide (docs/types.md) listed 13 Spark SQL types.
spark_connect::types::DataType has 30 variants: Null, Byte, Short, Char,
Varchar, a collated String, TimestampNtz, Time, the nanosecond timestamps, the
three interval types, Variant, Geometry, Geography, Udt and Unparsed were
missing.
The guide should document every variant: its DDL spelling (simple_string) and
aliases, the Rust DataType value, the Value that collect() gives, and what the
server requires or refuses for it (the confs of TIME and the nanosecond
timestamps, CHAR/VARCHAR in schemas, the interval types that create_dataframe
takes, the spatial SRIDs).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]