转换复杂数据类型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.