Post 52 | HDPCD | The conclusion

Hi everyone. Finally, we have reached the end of this tutorial series. It's been so long. We started this journey together on January 15th, 2017, and, 276 days later this beautiful journey is coming to an end. But, we do not need to worry, because, I am working on something new and would love to … Continue reading Post 52 | HDPCD | The conclusion

Post 48 | HDPCD | Printing the execution plan of a Hive query

Hello, everyone. Welcome to one more tutorial in the HDPCD certification series. In the last tutorial, we saw how to enable vectorization in Hive. In this tutorial, we are going to see how to print the execution plan of a Hive query. Let us begin, then. This is one of the simplest tutorials in this certification series. In … Continue reading Post 48 | HDPCD | Printing the execution plan of a Hive query

Post 40 | HDPCD | Load data into hive table as a result of a query

Hi, everyone. Thanks for coming back for one more tutorial in this HDPCD certification series. In the last tutorial, we saw how to load data into a Hive table from an HDFS directory. In this tutorial, we are going to see how to load the data into a Hive table as a result of a Hive query. … Continue reading Post 40 | HDPCD | Load data into hive table as a result of a query

CALCULATE DIFFERENCE BETWEEN TWO DATES

CALCULATE DIFFERENCE BETWEEN TWO DATES This program calculates the difference between two dates. This difference which is basically in milliseconds is then converted into the number of days, hours, minutes and seconds. package samples; import java.text.SimpleDateFormat; import java.util.Date; public class DifferenceBetweenTwoDates{ public static void main(String[] args) { String dateStart = "01/14/2012 09:29:58"; String dateStop = … Continue reading CALCULATE DIFFERENCE BETWEEN TWO DATES