Question

how do we perform ETL on JSON data with Data Type that are Integers for a...

how do we perform ETL on JSON data with Data Type that are Integers for a 3 Terabyte Dataset

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Queries to be perfomed as fallows:

1) create table json_teach(int integer);
2) load data inpath 'home/hduser/test.json' into table json_teach;
3) select * from json1;
4) select get_json_object(str,'$.ecode') as ecode, get_json_object(str,'$.enumber') as enumber ,get_json_object(str,'$.sal') as salary from json_teach;
Add a comment
Know the answer?
Add Answer to:
how do we perform ETL on JSON data with Data Type that are Integers for a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT