lauraxyz
Contributor

issue resolved:

for .py, i was using spark, and I have to explicitly create the spark session so that it can be run properly and insert data.