Ruifeng Zheng created SPARK-43927:
-------------------------------------
Summary: Add cast alias to Scala and Python
Key: SPARK-43927
URL: https://issues.apache.org/jira/browse/SPARK-43927
Project: Spark
Issue Type: Sub-task
Components: Connect, PySpark, SQL
Affects Versions: 3.5.0
Reporter: Ruifeng Zheng
add functions for:
* castAlias("boolean", BooleanType),
* castAlias("tinyint", ByteType),
* castAlias("smallint", ShortType),
* castAlias("int", IntegerType),
* castAlias("bigint", LongType),
* castAlias("float", FloatType),
* castAlias("double", DoubleType),
* castAlias("decimal", DecimalType.USER_DEFAULT),
* castAlias("date", DateType),
* castAlias("timestamp", TimestampType),
* castAlias("binary", BinaryType),
* castAlias("string", StringType),
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]