Re: Loading in json with spark sql

2015-03-13 Thread Kevin Peng
Yin, Yup thanks. I fixed that shortly after I posted and it worked. Thanks, Kevin On Fri, Mar 13, 2015 at 8:28 PM, Yin Huai wrote: > Seems you want to use array for the field of "providers", like > "providers":[{"id": > ...}, {"id":...}] instead of "providers":{{"id": ...}, {"id":...}} > >

Re: Loading in json with spark sql

2015-03-13 Thread Yin Huai
Seems you want to use array for the field of "providers", like "providers":[{"id": ...}, {"id":...}] instead of "providers":{{"id": ...}, {"id":...}} On Fri, Mar 13, 2015 at 7:45 PM, kpeng1 wrote: > Hi All, > > I was noodling around with loading in a json file into spark sql's hive > context and