All the functions mentioned below are more or less same functionally, but there very minor differences among them. createOrReplaceTempView createTempView…
mapValues – This function works with PairRDDs only. So this function always requires an RDD of type RDD[(a,b)]. mapValues functions…
Hive has so many clubbing operations like Order By, Sort By etc. Each clause it’s own uses, advantages and disadvantages.…
Even though Spark is very faster compared to Hadoop, Spark 1.6x has some performance issues which are corrected in Spark…
Assume that we have a table as below: Column_name 1 -2 3 -4 5 Need to write a query to…
Some you will be asked a question in Hive like, we have a table in which one of the columns…
One of the most commonly asked interview questions. If you are mid-level experienced professional this will be compulsory question. In…
Now a days almost all the companies are using Cloud platforms despite any technology. There are lot reasons behind it.…
Assume that we have an RDD of m partitions and another RDD of n partitions. When we perform union operation…
1). How to convert an external table to internal table? We can achieve this by using below command: ALTER TABLE…