How to run Pyspark dataframe in Scenarios?

Ramya
Level 2
How to run Pyspark dataframe in Scenarios?

I'm encountering a issue while attempting to run Spark Dataframe in specific scenario to retrive data,However Im facing error in this process.

0 Kudos
1 Reply
AlexT
Dataiker

Hi @Ramya ,
When you say running spark dataframe in a scenario are you running a pyspark recipe by building an output dataset of that recipe?

Or are you trying to run PySpark code inside a Python Scenario step( this would not be supported)

You can run Spark code in PySpark Notebook or PySpark recipe you can only run Python code in Python scenario steps.
Thanks,

0 Kudos