Category: spark

Spark User full article

PySpark @ Freshers.in

When you should not use Apache Spark ? Explain with reason.

There are a few situations where it may not be appropriate to use Apache Spark, which is a powerful open-source…

Continue Reading When you should not use Apache Spark ? Explain with reason.
PySpark @ Freshers.in

PySpark : How to create a map from a column of structs : map_from_entries

pyspark.sql.functions.map_from_entries map_from_entries(col) is a function in PySpark that creates a map from a column of structs, where the structs have…

Continue Reading PySpark : How to create a map from a column of structs : map_from_entries
PySpark @ Freshers.in

PySpark : Combine the elements of two or more arrays in a DataFrame column

pyspark.sql.functions.array_union The array_union function is a PySpark function that allows you to combine the elements of two or more arrays…

Continue Reading PySpark : Combine the elements of two or more arrays in a DataFrame column
PySpark @ Freshers.in

PySpark : Sort an array of elements in a DataFrame column

pyspark.sql.functions.array_sort The array_sort function is a PySpark function that allows you to sort an array of elements in a DataFrame…

Continue Reading PySpark : Sort an array of elements in a DataFrame column
PySpark @ Freshers.in

PySpark : How to number up to the nearest integer

pyspark.sql.functions.ceil In PySpark, the ceil() function is used to round a number up to the nearest integer. This function is…

Continue Reading PySpark : How to number up to the nearest integer