The following is the statement that combines the INSERT and UPDATE statements into one.
INSUPD
MERGE
INUPDATE
UPSERT
To avoid duplication in the table, use -
INSERT IF NOT EXISTS
IGNORE IF EXISTS
IF NOT EXISTS INSERT
INSERT IGNORE INTO
Does ‘Anti Join’ perform better than left join?
Can't Say
Yes
No
Which of the following databases should be used to display built-in functions?
_hive_metastore
_impala_metastore
_impala_builtins
Derby
To print the create table statement for the existing table
PRINT CREATE TABLE [database_name].table_name
DESCRIBE [database_name].table_name
SHOW CREATE TABLE [database_name].table_name
DISPLAY CREATE TABLE [database_name].table_name
The command to refresh the metadata in Impala is-
validate metadata <tablename />
reload metadata <tablename />
Invalidate metadata <tablename />
refresh metadata <tablename />
LOAD DATA INPATH ‘/SampleData.txt’ INTO TABLE; This command is used to copy the file from
HDFS
Hcatalog
RDBMS
Local File System
Equal to, Not Equal to, Less than, Greater than - operators - are categorized as
Equation Operators
Comparison Operators
Logical Operators
Arithmetic Operators
Which of the following is not a complex data type?
Array
Struct
Map
BigInt
Which option allows you to run a single query without having to start the interactive interpreter?
-i
-impalad
-q
run