Jump to content

excel data to json - help


Mr Mirchi

Recommended Posts

400K records vunnavi na excel file lo...e 400k records ni (each row one object) json objects ga one or multiple files ki elaa convert cheyaali .....server sql server...

 

each row lo e data vuntadhi

{

 fname: test

lname: test

courses : [

   {

        course: abc

      date: 12/12/2009

  },

{

        course: xyz

      date: 12/12/2010

    }

]

}

Link to comment
Share on other sites

nenaite ila chesta

i will read that csv file in spark and create a dataframe out of it

then i will load it to sql server as format json . idanta spark lo cheyochu 

  • Upvote 1
Link to comment
Share on other sites

Just now, vendettaa said:

nenaite ila chesta

i will read that csv file in spark and create a dataframe out of it

then i will load it to sql server as format json . idanta spark lo cheyochu 

 

3 minutes ago, vendettaa said:

Cool your excel data might be csv or text file format right 

you can use spark 

read it as csv and save it as json 

ok. you work on spark.

understood.

Link to comment
Share on other sites

6 minutes ago, Biskot2 said:

nuvvu aa technology no cheppa ledhu kabatti.. general tool csv to json here

http://www.convertcsv.com/csv-to-json.htm

java.... java program radham anukuntunna to write to a text file....emanna tools vunnavemo easy ga fast fga avataniki checking....google chesthunnaaale.. oka online tool dhorikidhi, but nested array ela ravalo teliyatam ledhu....

acutally na data database table lo vundhi....but oracle 12.1 suport cheyatam ledhu json functions.

 

sql server lo teliyadhu

 

www.csvjson.com/csv2json  -- idhi work avuthundhi but nested array elaa ani trying

Link to comment
Share on other sites

2 minutes ago, Mr Mirchi said:

java.... java program radham anukuntunna to write to a text file....emanna tools vunnavemo easy ga fast fga avataniki checking....google chesthunnaaale.. oka online tool dhorikidhi, but nested array ela ravalo teliyatam ledhu....

 

www.csvjson.com/csv2json  -- idhi work avuthundhi but nested array elaa ani trying

Use java 8 streams with collections with functional programming for better performances 

Link to comment
Share on other sites

1 minute ago, Mr Mirchi said:

java.... java program radham anukuntunna to write to a text file....emanna tools vunnavemo easy ga fast fga avataniki checking....google chesthunnaaale.. oka online tool dhorikidhi, but nested array ela ravalo teliyatam ledhu....

 

www.csvjson.com/csv2json  -- idhi work avuthundhi but nested array elaa ani trying

nuvvu akkada object declare chesi, break chesi , assign cheyalsi vasthadhi bro.. (nested arrays ke..)

Link to comment
Share on other sites

7 minutes ago, Biskot2 said:

nuvvu akkada object declare chesi, break chesi , assign cheyalsi vasthadhi bro.. (nested arrays ke..)

yaa..java lo i can...but 400k records dbbase numdi read chesi convert chesi text file ki raayaali...aa file vere team ki ivvaali.....performance concern IO streams kabatti..java coding option naa last option ...sql server lo option vunnattu vundhi but how does it perform anedhi chudaali

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...