转换复杂数据类型Transform complex data types

处理嵌套数据类型时,Azure Databricks 上的 Delta Lake 对某些现成的转换进行了优化。While working with nested data types, Delta Lake on Azure Databricks optimizes certain transformations out-of-the-box. 以下笔记本中包含了很多示例来说明如何使用 Apache Spark SQL 中本机支持的函数在复杂数据类型和基元数据类型之间进行转换。The following notebooks contain many examples on how to convert between complex and primitive data types using functions natively supported in Apache Spark SQL.

转换复杂数据类型 - Python 笔记本Transforming complex data types Python notebook

获取笔记本Get notebook

转换复杂数据类型 - Scala 笔记本Transforming complex data types Scala notebook

获取笔记本Get notebook

转换复杂数据类型 - SQL 笔记本Transforming complex data types SQL notebook

获取笔记本Get notebook