|
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. |
Answered by
dadepo
Apr 13, 2023
Replies: 1 comment
|
The problem was the contents Which is obviously invalid JSON. It should be |
0 replies
Answer selected by
dadepo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem was the contents
"data/schema.json"It was initiallyWhich is obviously invalid JSON. It should be