ЕГ
Size: a a a
ЕГ
ЕГ
SI
schema = StructType([
StructField("field", StructType([
StructField("nested", LongType())
]))
])
df = spark.createDataframe(..., schema=schema)
SI
new_schema = StructType([
StructField("field", StructType([
StructField("nested", LongType()),
StructField("one_more_nested", LongType()),
]))
])
SI
ЕГ
SI
SI
ЕГ
SI
SI
ЕГ
ЕГ
t
SI
SI
new_df = spark.createDataframe(df.rdd, schema=new_schema) но оно взрывается при добавлении внутренних полейt
ИК
SI
SI