此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
注意
访问此页面需要授权。 可以尝试登录或更改目录。
访问此页面需要授权。 可以尝试更改目录。
本页提供 Databricks 上可用的 PySpark 数据类型列表,其中包含指向相应参考文档的链接。
ArrayType(elementType[, containsNull])
BinaryType()
BooleanType()
ByteType()
CalendarIntervalType()
CharType(length)
DataType()
DateType()
DayTimeIntervalType([startField, endField])
DecimalType([precision, scale])
DoubleType()
FloatType()
Geography
Geometry
IntegerType()
LongType()
MapType(keyType, valueType[, valueContainsNull])
NullType()
ShortType()
StringType([collation])
StructField(name, dataType[, nullable, metadata])
StructType([fields])
TimestampType()
TimestampNTZType()
VarcharType(length)
VariantType()
YearMonthIntervalType([startField, endField])
此页面是否有帮助?
需要有关本主题的帮助?
想要尝试使用 Ask Learn 阐明或指导你完成本主题?