EMCECS / presto-s3-connector

Apache License 2.0
8 stars 3 forks source link

json does not support document format #44

Open adrdc opened 3 years ago

adrdc commented 3 years ago

when reading an object with json records only line based works. document format does not work.

for example

line based works

{name: "chris", age: "27"}
{name: "john", age: "31"}

document does not

{
    name: "chris", 
    age: "27"
},
{
    name: "john", 
    age: "31"
}
jameskim0987 commented 3 years ago

Just a quick note, the keys (name and age) also have to be in double quotes. Otherwise, it will lead to a "No value present" when querying the table.