-
I am trying to get a better understanding how to use Schemas with Datafusion, so I have a JSON file with contents like
I can define the Schema for it as read as follows
Since the value of So I tried the following schema
But using this, the read no longer works. It fails with error
Which does not help much with debugging. Any ideas what I am doing wrong? And how do I indeed fully specify schema's for data structures that are not flat. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The problem was the contents
Which is obviously invalid JSON. It should be
|
Beta Was this translation helpful? Give feedback.
The problem was the contents
"data/schema.json"
It was initiallyWhich is obviously invalid JSON. It should be