Create a in-memory table in Spark and insert data into it
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2016 09:57 AM
Hi,
My requirement is I need to create a Spark In-memory table (Not pushing hive table into memory) insert data into it and finally write that back to Hive table.
Idea here is to avoid the disk IO while writing into Target Hive table. There are lot of insert statements but I want to write that back to Hive table only after all execution is over.
Could you please let me know if that is possible. Please let me know if you have better solution
Thanks & Regards,
~Sri
Labels:
- Labels:
-
Spark--sql