Blog Archives
1 … 19 20 21 22 23

Spark interview Q&As with coding examples in Scala – part 10: adding new columns

This covers one of the most popular Spark interview questions of adding new columns to Spark Dataframes. Most non-trivial Spark jobs will have additional columns added to an existing Dataframe. These columns can be derived from existing columns in a Dataframe.

Q01. What are the different ways in which you can add new columns to a Dataframe?

…

Read more ›



Spark interview Q&As with coding examples in Scala – part 11: add column values conditionally, lit & typedlit

This extends Spark interview Q&As with coding examples in Scala – part 10: adding new columns. Q01. How will you add a new column with a fixed value? A01. Using the lit(..) & typedlit(..) functions in “org.apache.spark.sql.functions” … 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


Spark join strategies & performance tuning interview questions and answers

Join operations are frequently used in big data analytics to merge two data sets, represented as tables, DataSets or DataFrames via on a matching key. Being aware of these join strategies is important as they can significantly impact the performance and efficiency of your Spark applications. Q1. … 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


Spark understanding DAG for tuning performance interview questions and answers

This extends 15 Apache Spark best practices & performance tuning interview FAQs to delve into DAGs, Stages, Tasks, Partitions and Shuffling in Spark. If you can’t read Spark Event Timelines & DAGs, you will be running blind as to how efficient your code is. … 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


SQL procedures vs functions with postgresql (i.e. plpgsql) examples

Q01 What is the difference between SQL stored Procedures & Functions?
A01 Stored procedure does not have a RETURNS clause, but you can use the OUT or INOUT parameter. Stored procedures are transactional whereas functions are not.

…

Read more ›



SQL querying Temporal tables & SCD Type 2

Q1. What is a temporal table? A1. Temporal tables store and maintain information with respect to time. This tracks data changes, and enables us to maintain and manage the history of the data in a table. … 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


SQL retrieving the latest records interview Q&As

This question can reveal a lot about your ability to write SQL queries as different approaches can be used and there will be drill down on pros and cons of each approach. Q1. Given the following SQL, how do you retrieve the latest records by updated date for each user?...

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


Straight Through Processing, OLTP, Data warehousing & OLAP

Large mission critical applications use Straight Through Processing, and these systems need to be highly scalable. So, when you apply for these high paying jobs, it really pays to prepare for your job interviews with the following questions and answers.

Q. What is Straight Through Processing (STP)?

…

Read more ›



What do data analysts, engineers & scientists do?

In addition to the Data Analysts, the Data Engineers & Data Scientists must have the below know-hows.



Zookeeper example – getting started tutorial with Java & Docker

Zookeeper solves challenges in a distributed system. This extends Apache Zookeeper interview Q&As and Getting started with Zookeeper tutorial. In this Zookeeper tutorial let’s use Docker. Zookeeper image in Docker Hub Step 1: Zookeeper image can be found at Docker Hub. … 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


1 … 19 20 21 22 23

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data