Blog Archives
1 … 9 10 11 12 13 14 15 16 17 … 23

13: Q98 – Q104 Apache Hive Basics Interview questions & answers

Q98. What is Hive? A98. Hive is used for accessing and analyzing data in Hadoop using SQL syntax. It is known as the HiveQL. Q99. What is the difference between Hive internal tables & external tables? A99. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


13A: Scala Semigroup interview Q&As

Semigroups, Monoids, Functors, Monads, Applicatives, etc are concepts or patterns that abstract complexities in computations, and NOT traits or classes. You can think of them as type classes like List[T], Option[T], Futures[T], MyContainer[T], etc that fulfil requirements of functors, monads, etc. Let’s start with monoids first. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


13B: Q81 – Q83 Scala monoids interview Q&As

Monoids, Functors, Monads, Applicatives, etc are concepts or patterns that abstract complexities in computations, and NOT traits or classes. You can think of them as container type classes like List[T], Option[T], Futures[T], MyContainer[T], etc that fulfil requirements of functors, monads, etc. Let’s start with monoids first. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


13B: Scala foldLeft, foldRight, scanLeft, scanRight, reduceLeft, reduceRight, etc are Monoids

This extends 13: Q81 – Q83 Scala monoids interview Q&As. Given the below code

Q01. How will you combine the two lists xs & xy? A01. The foldLeft(.)(..) to the rescue as shown below:

:+ is a method name alias for the append:

Output:

Q02....

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


14: 50+ SQL scenarios based interview Q&As on order of SQL executions

This post reiterates the importance of understanding the order of execution of the SQL statements. Also, always think of the data granularity (aka grain). This post also demonstrates that the final query may look complex, but if you break it down it is much easier to comprehend.

…

Read more ›



14: Coding Scala Way – Scala concurrency with Future

Scala concurrency with Future explains step by step blocking vs unblocking calls and how implicit and apply concepts work under the covers. Scala extends the Java programming language and runtime in many ways, including concurrency where Scala version of Future<T> is more flexible than the Java version as you can create futures directly from blocks of code,

…

Read more ›



14: PySpark with Apache Kafka Interview Q&As with tutorials – part 2

This extends 13: PySpark with Apache Kafka Interview Q&As with tutorials – part 1 Q42: How would you go about displaying the array of JSON data in a tabular format? A42 In this post we will expand & … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


14: Python Closures, Partial functions and Currying tutorial

Closures In Python you have a closure when a nested function references a value in its enclosing scope as shown below. The inner function “inner_sum” references the enclosing function “outer_sum”‘s variable “num1”.

The criteria that must be met to create a closure in Python : 1) You must have...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


14: Q105 – Q108 Spark “map” vs “flatMap” interview questions & answers

Q105. What is the difference between “map” and “flatMap” operations in Spark?
A105. The map and flatMap are transformation operations in Spark.

map transformation is applied to each element of RDD and it returns the result as a new RDD.

…

Read more ›



14: Q84 – Q87 Category Theory With Scala Interview Q&As

Q84. What is a category theory from a functional programming language perspective? A84. The category theory is all about abstractions. Composition “f” and “g” are functions, and “A” and “B” are types. f: A => … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


15: 50+ SQL scenarios based interview Q&As on pivoting & aggregate functions

In this post let’s look at an SQL scenario, and three different ways to solve this scenario. There could be more ways to solve an SQL scenario. Problem Statement Given the below “orders” table write a query to find the order status.

1) If all line items are ‘DELIVERED’...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


15: Coding Scala Way – Scala concurrency & closure vs function definition

This post not only covers “onSuccess” method on a “Future”, but also clarifies the difference between executing a closure and a function definition. Is anything wrong with the following Scala concurrency code?

Output:

“ … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


15: PySpark with Apache Kafka Interview Q&As with tutorials – part 3

This extends PySpark with Apache Kafka Interview Q&As with tutorials – part 1 and PySpark with Apache Kafka Interview Q&As with tutorials – part 2 Q46: How will you go about writing the streamed structured to a parquet file? A46: In the last tutorial we wrote a console sink, …...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 … 9 10 11 12 13 14 15 16 17 … 23

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data