Category: article

What are the Query Operators supported by Snowflake

Snowflake supports most of the standard operators defined in SQL:1999. Arithmetic Operators + , – , * , / ,…

PySpark @ Freshers.in

PySpark how to get rows having nulls for a column or columns without nulls or count of Non null

pyspark.sql.Column.isNotNull isNotNull() : True if the current expression is NOT null. isNull() : True if the current expression is null. With…

PySpark @ Freshers.in

PySpark – groupby with aggregation (count, sum, mean, min, max)

pyspark.sql.DataFrame.groupBy PySpark groupby functions groups the DataFrame using the specified columns to run aggregation ( count,sum,mean, min, max) on them….

PySpark @ Freshers.in

PySpark filter : How to filter data in Pyspark – Multiple options explained.

pyspark.sql.DataFrame.filter PySpark filter function is used to filter the data in a Spark Data Frame, in short used to cleansing…

python @ Freshers.in

Python throwing as NameError: name ‘__file__’ is not defined – Solution

On Executing  os.path.dirname(os.path.realpath(__file__)) in python interactive shell, you will get the error NameError: name ‘__file__’ is not defined. This is…

amazon_api_gateway @ Freshers.in

Amazon API Gateway quick reference and cheat sheet

1. Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs…

Hive @ Freshers.in

How to drop multiple partition in Hive by giving condition.

Hive Partitions is a good and easy way to organizes Hive tables into partitions by dividing tables into different parts…

Hive @ Freshers.in

How to delete a partition data as well from Hive external table on DROP command?

As you know external tables are tables where  Hive does not manage the data of the External table. So when…

Hive @ Freshers.in

How to convert a hive managed table to external table without recreating it ?

In Hive, Managed tables / Internal table are Hive owned tables and the tables data are managed and controlled by…