I have a valid JSON file which I am uploading to a bucket in AWS S3 directly by using the GUI.
[
{
"attribute1" : "foo1",
"attribute2" : 123,
"attribute3" : "bar1"
},
{
"attribute1" : "foo2",
"attribute2" : 123,
"attribute3" : "bar2"
}
]
When I use the AWS GUI Select from (preview) with settings File format = JSON, JSON type = JSON lines and Compression = None, I get the following output:
{
"_1": [
{
"attribute1" : "foo1",
"attribute2" : 123,
"attribute3" : "bar1"
},
{
"attribute1" : "foo2",
"attribute2" : 123,
"attribute3" : "bar2"
}
]
}
Do you have an idea why S3 puts the { "_1": }, around my JSON file?