I'm trying to run my PySpark job code using AWS Lambda function. Here i'm getting below error: Unable to import module 'lambda_function': No module named 'pyspark'
My PySpark job has below imports. So, how can I import below library into my Lambda function. How to install these in Lambda function ?
from pyspark.sql import SparkSession
from pyspark.sql import functions as F, Column as col
from pyspark.sql.functions import when, coalesce
from pyspark.sql.functions import lit
Thanks.