New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Hortonworks Exam Hadoop-PR000007 Topic 4 Question 75 Discussion

Actual exam question for Hortonworks's Hadoop-PR000007 exam
Question #: 75
Topic #: 4
[All Hadoop-PR000007 Questions]

Given the following Hive command:

INSERT OVERWRITE TABLE mytable SELECT * FROM myothertable;

Which one of the following statements is true?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Gaynell
5 months ago
That makes sense, I see your point
upvoted 0 times
...
Linwood
5 months ago
D, obviously. Hive commands are written in Elvish, and this one is clearly just gibberish.
upvoted 0 times
...
Gilberto
5 months ago
Hmm, I think B is the correct answer. Overwriting existing data sounds risky, but at least I won't have to worry about duplicates.
upvoted 0 times
Carmelina
4 months ago
That's a good point, it can be a trade-off.
upvoted 0 times
...
Alise
4 months ago
It's true, but at least we won't have to worry about duplicates.
upvoted 0 times
...
Rebecka
4 months ago
I agree, overwriting existing data can be risky.
upvoted 0 times
...
Mee
5 months ago
I think B is the correct answer.
upvoted 0 times
...
...
Danica
5 months ago
I think the answer is B) because it mentions overwriting existing data
upvoted 0 times
...
Jose
5 months ago
But wouldn't that mean a new table is created?
upvoted 0 times
...
Gaynell
5 months ago
I disagree, I believe the answer is C)
upvoted 0 times
...
Stefania
5 months ago
Wait, so does this mean I can just dump all my data into a table and call it a day? Sounds like a good plan to me!
upvoted 0 times
Bernardo
5 months ago
So, it doesn't just append the data? Good to know, thanks for the heads up.
upvoted 0 times
...
Barney
5 months ago
No, you have to be careful with that command. It overwrites existing data in the table.
upvoted 0 times
...
...
Jose
5 months ago
I think the answer is B)
upvoted 0 times
...

Save Cancel