Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Hive 1

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Which of the following are the two default table properties?

- last modified by and


last modified time
In what language is Hive written? - Java
Apache Hive is open source. -> True
Where is data stored? -> HDFS

hive> select sales.*,product.*


> from sales
> left outer join
> product on (sales.id=product.id);
What do the above commands mean? -> The commands provide results for every row
present in the left table.
Which of the following is the new CLI? -> BeeLine
In which mode, HiveServer2 accepts real Thrift calls. -> Remote
Which of the following are false? -> Master as well as slave both are worker nodes.
Hive allows the feature to copy __________. -> Schema
Which of the following will overwrite any existing data in the table or partition?
-> Insert into
Which of the following Hive uses for logging? -> log4j
Which of the following are types of metastore? -> All of the above(Remote,
Embedded, Local)
Which of the following is true about the drop command in Hive? -> Both(When an
external table is dropped the table with its data is also being dropped. and When
an external table is dropped, only the metadata is effected.)
When there is a large set of data and you want to retrieve a small set of data.
What is the concept called? -> Partitioning

SHOW DATABASE LIKE 'h.*' ;


What will be the output of the above query? -> starting with h
How does partitioning help? -> To create subdirectories under the table
What happens when a managed table is dropped? -> Both the schema and data is being
dropped.
If the database contains some tables, then using which keyword can it be forced to
drop the tables? -> Cascade
Which of the following command can be used to show partitions? -> Show
Hive will provide Data Warehousing Layer to data over Hadoop. -> True
Hive is a __________________. -> an open source data warehouse system
If a column is defined as an INTEGER type, will a string type data be allowed to
load? -> True
A UDF is created to accept arguments of different data types. Which of the
following defines the given statement? -> Generic Function
Apache Hive was initially developed by ____________. -> Facebook

You might also like