[
https://issues.apache.org/jira/browse/ARROW-9462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastien Binet resolved ARROW-9462.
------------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
Issue resolved by pull request 7752
[https://github.com/apache/arrow/pull/7752]
> [Go] The Indentation after the first Record arrjson writer is missing
> ---------------------------------------------------------------------
>
> Key: ARROW-9462
> URL: https://issues.apache.org/jira/browse/ARROW-9462
> Project: Apache Arrow
> Issue Type: Bug
> Components: Go
> Affects Versions: 0.17.1
> Reporter: FredGan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> The `jsonRecPrefix` is missed for the Records after the first one in the
> arrjson writer.
> We can see the output file `arrjson-xxxxxxxxxx` in the TempDir, such as
> {code:java}
> "batches": [
> {
> "count": 5,
> "columns": [
> {
> "name": "fixed_size_binary_3",
> "count": 5,
> "VALIDITY": [
> 1,
> 0,
> 0,
> 1,
> 1
> ],
> "DATA": [
> "303031",
> "303032",
> "303033",
> "303034",
> "303035"
> ]
> }
> ]
> },
> { // <- HERE! we can see it is not indented correctly
> "count": 5,
> "columns": [
> {
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)