I have the following schema:
root
|-- id: string (nullable = true)
|-- text: string (nullable = true)
|-- user: string (nullable = true)
How can I create StructType
schema from this String?
I know that I can use .schema()
method in my Dataset but I asking If its possible to create Schema from string.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…