zeroshade commented on issue #45: URL: https://github.com/apache/arrow-go/issues/45#issuecomment-5501442684
Closing this as resolved — @AlwaysZhi reported in https://github.com/apache/arrow-go/issues/45#issuecomment-2319656810 that switching to `array.WithMultipleDocs()` made it work. For anyone finding this later: `RecordFromJSON` without `WithMultipleDocs` expects a single JSON document (the whole file wrapped in `[ ]`). Use `array.WithMultipleDocs()` when the file is newline-delimited JSON instead: ```json {"a": 1, "b": 2} {"a": 2, "b": 3} ``` Reopen or file a new issue if you still see this on a current release with a document that is genuinely a single JSON array. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
