adspace
Can we run unix shell commands from the hive? Give example?
Answer Posted / Laxmi Dixit
Yes, you can run Unix shell commands from Apache Hive using the ! operator. For example: SELECT !ls /tmp; This command will list all files in the /tmp directory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a Hive variable? What for we use it?
Can We Change settings within Hive Session? If Yes, How?
How can I delete the above index named index_bonuspay?
When we are using queries instead of scripting?
What are the different types of tables available in Hive?
What is the stable version of Hive ?
How to skip header rows from a table in Hive?
Where does the data of a Hive table gets stored?
When to use explode in Hive?
When to choose "External Table" in Hive?