Blog Archives
1 … 6 7 8 9 10 11 12 13 14 … 23

10 Spark SQL Interview Q&As

Q1. What is Spark SQL?
A1. Apache Spark SQL is a module for structured data processing in Spark. Spark SQL integrates relational processing (i.e. SQL) with Spark’s functional programming using Scala, Java, etc weave SQL queries with Dataframes/Datasets based transformations. It provides support for various data sources as shown below:

Q2.

…

Read more ›



10: 50+ SQL scenarios based interview Q&As on split delimited column values to rows

This extends 09: 50+ SQL scenarios based interview Q&As on GROUP_CONCAT() & STRING_AGG().

In the previous post we looked at how to implode or concatenate multiple row column values into a single column. In this post let’s look how we can explode or split delimited column value to multiple rows.

…

Read more ›



10: Coding Scala Way – groupBy, mapValues & identity

Java developers need to learn Coding Scala Way. Scala way of coding is quite different & you need to unlearn Java way of coding

Question: Given a list of numbers, how will you group the numbers by how many times they occur? for example output for “List(3,

…

Read more ›



10: Databricks interview questions & answers – clone data & describe tables

Q01. How can you clone a table on Databricks? A01. You can create a copy of an existing Delta Lake table on Databricks at a specific version using the clone command. Clones can be either deep or shallow. … 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


10: PySpark working with parquet file format Interview Q&As with tutorials

Given the below employee.csv file in /tmp folder:

Q26: How will you read the above file & calculate 10% bonus and write it as parquet file employee.parquet? A26: Here is the code that reads the .csv file, … 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


10: Python working with collections tutorial

Python’s general purpose built-in containers are dict ( E.g. {‘a’:1, ‘b’:2, ‘c’:3} ), list ( E.g. [1,2,3,4] ), set ( E.g. {1,2,3,4 } ), and tuple ( E.g. (1,2,3,4) ). Following are specialised container datatypes providing alternatives. … 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


10: Q66 – Q70 Pattern matching in Scala Interview Q&As

Q66. What is the purpose of pattern matching in Scala? A66. It is for the “flow control“. Most imperative languages support “if-then-else”, case statements, and loops like while, for, foreach, etc. Scala does support some of these, but the most often used “ … 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


10: Q80 – Q87 HBase Schema Design Interview Q&As

Q80. Why is schema design for HBase is different from relational database design? A80. HBase is a columnar NoSQL database. This means no two rows in a table need to have the same columns. In a columnar database table, each row contains cells containing

Values are stored against each...

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


10+ Apache Impala Interview Q&As

Q1. What are the key differences between Apache Hive & Apache Impala? When would you use one over the other? A1. Apache Hive is a batch processing framework and used as an ETL/ELT tool, whilst Apache Impala is for interactive SQL queries by the data analysts & … 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


10+ Apache NiFi interview Q&As

Q1. What is Apache Nifi? What is Apache NiFi not? A1. NiFi is data flow tool for moving data from point A (e.g. MySQL DB) to point B (e.g. AWS S3 bucket), with a GUI based drag and drop experience. Non-Functional features like security, Data lineage/provenance (i.e. … 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


11: 50+ SQL scenarios based interview Q&As on LEAD(..) & LAG(..) window functions

LEAD(..) & LAG(..) are Window functions, which perform operations for each row of the partition or window. LEAD() and LAG() are used to accesses a value stored in a row below and a value stored in a row above respectively. An ORDER BY clause is required when working with LEAD...

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


11: Coding Scala Way – Actors with Akka – part 1

We already saw in Java: Producer and Consumer Java Multi-threading code. This extends the tutorial “Simple Akka tutorial in Scala step by step” for setting up the environment with right plugins and libraries with Eclipse & Maven.

The Akka Actors sending &…

Read more ›



11: PySpark working with AVRO file format Interview Q&As with tutorials

This extends 10: PySpark working with parquet file format Interview Q&As with tutorials. Given the below employee.csv file in /tmp folder:

AVRO is a popular data serialization format used in big data processing systems such as Hadoop, Spark, and Kafka. … 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 … 6 7 8 9 10 11 12 13 14 … 23

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data