1.

Integral literals are assumed to be _________ by default.(a) SMALL INT(b) INT(c) BIG INT(d) TINY INTThe question was asked during an internship interview.The question is from Querying Data with HiveQL in division Hive and HBase of Hadoop

Answer» RIGHT OPTION is (b) INT

For explanation: Integral literals are ASSUMED to be INT by default, UNLESS the number EXCEEDS the range of INT in which case it is interpreted as a BIGINT, or if one of the following postfixes is present on the number.


Discussion

No Comment Found

Related InterviewSolutions