FredGan created ARROW-9462:
------------------------------
Summary: [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
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)